Skip to content
This repository was archived by the owner on Jul 25, 2024. It is now read-only.

Commit 26f755f

Browse files
committed
Update to latest openapi code.
1 parent fd20ae9 commit 26f755f

Some content is hidden

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

49 files changed

+1224
-452
lines changed

.openapi-generator/FILES

-4
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,3 @@ lib/src/model/subtitle.dart
5353
lib/src/model/video_info.dart
5454
lib/src/serializers.dart
5555
pubspec.yaml
56-
test/channel_api_test.dart
57-
test/feed_api_test.dart
58-
test/search_api_test.dart
59-
test/video_api_test.dart

.openapi-generator/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.2.0
1+
6.6.0

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ For more information, please visit [https://github.com/TeamPiped/Piped/issues](h
99

1010
## Requirements
1111

12-
* Dart 2.12.0 or later OR Flutter 1.26.0 or later
13-
* Dio 4.0.0+
12+
* Dart 2.15.0+ or Flutter 2.8.0+
13+
* Dio 5.0.0+ (https://pub.dev/packages/dio)
1414

1515
## Installation & Usage
1616

@@ -109,7 +109,7 @@ Class | Method | HTTP request | Description
109109

110110
## Documentation For Authorization
111111

112-
All endpoints do not require authorization.
112+
Endpoints do not require authorization.
113113

114114

115115
## Author

analysis_options.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ analyzer:
77
implicit-casts: false
88
exclude:
99
- test/*.dart
10+
errors:
11+
deprecated_member_use_from_same_package: ignore

doc/ChannelItem.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**type** | **String** | The type of the channel item. Always channel. | [optional]
1112
**description** | **String** | The description of the channel. | [optional]
1213
**name** | **String** | The name of the channel. | [optional]
1314
**subscribers** | **int** | The number of subscribers the channel has. | [optional]

doc/ContentItem.md

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# piped_api.model.ContentItem
2+
3+
## Load the model package
4+
```dart
5+
import 'package:piped_api/api.dart';
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**type** | **String** | The type of the content item. |
12+
**duration** | **int** | The duration of the video in seconds. |
13+
**thumbnail** | **String** | The thumbnail of the playlist. |
14+
**title** | **String** | The title of the video. |
15+
**uploaded** | **int** | The date in unix epoch the video was uploaded. | [optional]
16+
**uploadedDate** | **String** | The relative date the video was uploaded on. | [optional]
17+
**uploaderAvatar** | **String** | The avatar of the channel of the video. | [optional]
18+
**uploaderName** | **String** | The name of the channel of the video. | [optional]
19+
**uploaderUrl** | **String** | The relative URL of the channel of the video. | [optional]
20+
**uploaderVerified** | **bool** | Whether or not the channel has a verified badge. | [optional]
21+
**url** | **String** | The relative URL of the playlist. |
22+
**views** | **int** | The number of views the video has. | [optional]
23+
**isShort** | **bool** | Whether or not the video is a short video. | [optional]
24+
**shortDescription** | **String** | The short description of the video. | [optional]
25+
**description** | **String** | The description of the channel. | [optional]
26+
**name** | **String** | The name of the playlist. | [optional]
27+
**subscribers** | **int** | The number of subscribers the channel has. | [optional]
28+
**verified** | **bool** | Whether the channel is verified. | [optional]
29+
**videos** | **int** | The number of videos in the playlist. | [optional]
30+
31+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
32+
33+

doc/PlaylistItem.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**type** | **String** | The type of the playlist item. Always playlist. | [optional]
1112
**name** | **String** | The name of the playlist. | [optional]
1213
**thumbnail** | **String** | The thumbnail of the playlist. | [optional]
1314
**url** | **String** | The relative URL of the playlist. | [optional]

doc/SearchItem.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**type** | **String** | The type of the playlist item. Always playlist. | [optional]
1112
**duration** | **int** | The duration of the video in seconds. |
1213
**thumbnail** | **String** | The thumbnail of the playlist. |
1314
**title** | **String** | The title of the video. |
@@ -19,6 +20,8 @@ Name | Type | Description | Notes
1920
**uploaderVerified** | **bool** | Whether or not the channel has a verified badge. | [optional]
2021
**url** | **String** | The relative URL of the playlist. |
2122
**views** | **int** | The number of views the video has. | [optional]
23+
**isShort** | **bool** | Whether or not the video is a short video. | [optional]
24+
**shortDescription** | **String** | The short description of the video. | [optional]
2225
**description** | **String** | The description of the channel. | [optional]
2326
**name** | **String** | The name of the playlist. | [optional]
2427
**subscribers** | **int** | The number of subscribers the channel has. | [optional]

doc/StreamItem.md

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import 'package:piped_api/api.dart';
88
## Properties
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
11+
**type** | **String** | The type of the stream item. Always stream. | [optional]
1112
**duration** | **int** | The duration of the video in seconds. |
1213
**thumbnail** | **String** | The thumbnail of the video. |
1314
**title** | **String** | The title of the video. |
@@ -19,6 +20,8 @@ Name | Type | Description | Notes
1920
**uploaderVerified** | **bool** | Whether or not the channel has a verified badge. | [optional]
2021
**url** | **String** | The relative URL to the video. |
2122
**views** | **int** | The number of views the video has. | [optional]
23+
**isShort** | **bool** | Whether or not the video is a short video. | [optional]
24+
**shortDescription** | **String** | The short description of the video. | [optional]
2225

2326
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2427

lib/model/channel_info.g.dart

+13-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/exception_error.g.dart

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/regions.g.dart

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/stream.g.dart

+18-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/stream_item.g.dart

+15-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/streams_page.g.dart

+6-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/model/subtitle.g.dart

+8-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)