Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/actions/package_analysis/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ runs:
# all supported legacy version.
- name: "Stream Feeds Analyze"
shell: bash
run: cd packages/stream_feed/lib && dart analyze --fatal-warnings . && cd .. && flutter test --exclude-tags golden
run: cd packages/stream_feeds/lib && dart analyze --fatal-warnings . && cd .. && flutter test --exclude-tags golden
4 changes: 2 additions & 2 deletions .github/workflows/pana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ concurrency:
cancel-in-progress: true

jobs:
stream_feed:
stream_feeds:
runs-on: ubuntu-latest
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4
- name: 📊 Verify Pana Score
uses: ./.github/actions/pana
with:
working_directory: packages/stream_feed
working_directory: packages/stream_feeds
min_score: 120 # Missing 10 points for no example, 10 points for license and 10 points for unused private classes
2 changes: 1 addition & 1 deletion .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
with:
scopes: |
{
"llc": "packages/stream_feed"
"llc": "packages/stream_feeds"
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ V3 keeps that scalability while giving you more flexibility over the content sho

The Flutter SDK for Stream Feeds is distributed through [pub.dev](https://pub.dev).

Currently we only have a package for the low level Feeds client: [stream_feed](https://pub.dev/packages/stream_feed).
Currently we only have a package for the low level Feeds client: [stream_feeds](https://pub.dev/packages/stream_feeds).
Releases and changes are published on the [GitHub releases page](https://github.com/GetStream/stream-feeds-flutter/releases).

### Adding the SDK to your project
Expand All @@ -63,12 +63,12 @@ To add the Flutter SDK, you can add the latest dependencies for the SDK to your

```yaml
dependencies:
stream_feed: ^latest
stream_feeds: ^latest
```
Additionally, you can also run the `flutter pub add` command in the terminal to do this:

```shell
flutter pub add stream_feed
flutter pub add stream_feeds
```

This command will automatically install the latest versions of the Stream SDK package from pub.dev to the dependencies section of your `pubspec.yaml`.
Expand All @@ -83,7 +83,7 @@ Check our docs for more details.

```dart
// Import the package
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

// Initialize the client
final client = StreamFeedsClient(
Expand Down
6 changes: 3 additions & 3 deletions docs/code_snippets/01_01_quickstart.dart
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import 'package:flutter/widgets.dart';
import 'package:flutter_state_notifier/flutter_state_notifier.dart';
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;

Future<void> gettingStarted() async {
// Import the package
// import 'package:stream_feed/stream_feed.dart';
// import 'package:stream_feeds/stream_feeds.dart';

// Initialize the client
final client = StreamFeedsClient(
Expand Down Expand Up @@ -111,7 +111,7 @@ Future<void> customActivityTypes() async {
// imports
// import 'package:flutter/widgets.dart';
// import 'package:flutter_state_notifier/flutter_state_notifier.dart';
// import 'package:stream_feed/stream_feed.dart';
// import 'package:stream_feeds/stream_feeds.dart';
class FeedView extends StatefulWidget {
const FeedView({super.key, required this.feed});
final Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/03_01_activities.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/03_02_querying_activities.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/03_03_file_uploads.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/04_01_feeds.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/04_03_follows.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late StreamFeedsClient saraClient;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/05_01_intro_defaults.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/05_02_feed_views.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/05_06_notification_feeds.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/05_07_processors.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/06_01_reactions.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/06_02_bookmarks.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/06_03_comments.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/06_04_pins.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/09_01_polls.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
2 changes: 1 addition & 1 deletion docs/code_snippets/11_01_moderation.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

late StreamFeedsClient client;
late Feed feed;
Expand Down
3 changes: 2 additions & 1 deletion docs/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ dev_dependencies:
flutter:
sdk: flutter
flutter_state_notifier: ^1.0.0
stream_feed: ^0.7.0
stream_feeds:
path: ../packages/stream_feeds
142 changes: 0 additions & 142 deletions packages/stream_feed/CHANGELOG.md

This file was deleted.

File renamed without changes.
2 changes: 2 additions & 0 deletions packages/stream_feeds/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## 0.1.0
- Initial release of Feeds V3 SDK for Dart and Flutter.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ V3 keeps that scalability while giving you more flexibility over the content sho

The Flutter SDK for Stream Feeds is distributed through [pub.dev](https://pub.dev).

Currently we only have a package for the low level Feeds client: [stream_feed](https://pub.dev/packages/stream_feed).
Currently we only have a package for the low level Feeds client: [stream_feeds](https://pub.dev/packages/stream_feeds).
Releases and changes are published on the [GitHub releases page](https://github.com/GetStream/stream-feeds-flutter/releases).

### Adding the SDK to your project
Expand All @@ -63,12 +63,12 @@ To add the Flutter SDK, you can add the latest dependencies for the SDK to your

```yaml
dependencies:
stream_feed: ^latest
stream_feeds: ^latest
```
Additionally, you can also run the `flutter pub add` command in the terminal to do this:

```shell
flutter pub add stream_feed
flutter pub add stream_feeds
```

This command will automatically install the latest versions of the Stream SDK package from pub.dev to the dependencies section of your `pubspec.yaml`.
Expand All @@ -83,7 +83,7 @@ Check our docs for more details.

```dart
// Import the package
import 'package:stream_feed/stream_feed.dart';
import 'package:stream_feeds/stream_feeds.dart';

// Initialize the client
final client = StreamFeedsClient(
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:stream_core/stream_core.dart';

import '../../stream_feed.dart' show ModerationConfigsQuery;
import '../../stream_feeds.dart' show ModerationConfigsQuery;
import '../generated/api/api.dart' as api;
import '../repository/moderation_repository.dart';

Expand Down
Loading
Loading