Skip to content

Commit

Permalink
Merge pull request #9 from suzuki3jp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
suzuki3jp authored Jan 21, 2025
2 parents 2c435bf + 74af2f8 commit cfea8d6
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"@semantic-release/commit-analyzer",
{
"releaseRules": [
{ "type": "chore", "release": "patch" },
{ "type": "docs", "release": "patch" },
{ "type": "feat", "release": "patch" },
{ "breaking": true, "release": "minor" }
]
}
Expand Down
4 changes: 2 additions & 2 deletions src/Pagination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class Pagination<T> {
* - **NOTE**: This method will use the same quotas as the original request.
* - Normally, GET requests use a quota of 1 unit, while other methods use 50 units.
* - However, some heavy methods use more than 50 units.
* - See more details on the [YouTube Data API reference](https://developers.google.com/youtube/v3/determine_quota_cost)
* - See more details on the {@link https://developers.google.com/youtube/v3/determine_quota_cost | YouTube Data API reference}
* @returns The previous page. If there is no previous page, returns `null`.
* @example
* ```ts
Expand Down Expand Up @@ -111,7 +111,7 @@ export class Pagination<T> {
* - **NOTE**: This method will use the same quotas as the original request.
* - Normally, GET requests use a quota of 1 unit, while other methods use 50 units.
* - However, some heavy methods use more than 50 units.
* - See more details on the [YouTube Data API reference](https://developers.google.com/youtube/v3/determine_quota_cost)
* - See more details on the {@link https://developers.google.com/youtube/v3/determine_quota_cost | YouTube Data API reference}
* @returns The next page. If there is no next page, returns `null`.
* @example
* ```ts
Expand Down
2 changes: 1 addition & 1 deletion src/entities/playlist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { Thumbnails } from "./thumbnails";
/**
* Represents a YouTube playlist resource.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists#resource)
* {@link https://developers.google.com/youtube/v3/docs/playlists#resource | YouTube Data API Reference}
*/
export class Playlist {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/entities/thumbnails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { isNullish } from "../utils";
/**
* Presents the thumbnails of the video or the playlist.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/thumbnails)
* {@link https://developers.google.com/youtube/v3/docs/thumbnails | YouTube Data API Reference}
*/
export class Thumbnails {
public default?: Thumbnail;
Expand Down
4 changes: 2 additions & 2 deletions src/managers/PlaylistItemManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { isNullish, wrapGaxios } from "../utils";
* A manager of playlist items belonging to a client.
* Provides methods for `/youtube/v3/playlistItems`
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlistItems)
* {@link https://developers.google.com/youtube/v3/docs/playlistItems | YouTube Data API Reference}
*/
export class PlaylistItemManager {
private client: NativeClient;
Expand All @@ -38,7 +38,7 @@ export class PlaylistItemManager {
*
* - The operation uses 1 quota unit.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlistItems/list)
* {@link https://developers.google.com/youtube/v3/docs/playlistItems/list | YouTube Data API Reference}
* @param playlistId - The ID of the playlist to retrieve items from.
* @param pageToken - The page token to use for pagination.
* @returns
Expand Down
14 changes: 7 additions & 7 deletions src/managers/PlaylistManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { wrapGaxios } from "../utils";
* Manager for playlist endpoints.
* Provides methods for `/youtube/v3/playlists`.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists)
* {@link https://developers.google.com/youtube/v3/docs/playlists | YouTube Data API Reference}
*/
export class PlaylistManager {
private client: NativeClient;
Expand All @@ -35,7 +35,7 @@ export class PlaylistManager {
*
* - This operation uses 1 quota unit.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists/list)
* {@link https://developers.google.com/youtube/v3/docs/playlists/list | YouTube Data API Reference}
* @param pageToken - The token for pagination.
* @example
* ```ts
Expand Down Expand Up @@ -86,7 +86,7 @@ export class PlaylistManager {
* - This operation uses 1 quota unit.
* - Note: The YouTube API returns empty data instead of an error when a playlist with the specified ID is not found.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists/list)
* {@link https://developers.google.com/youtube/v3/docs/playlists/list | YouTube Data API Reference}
* @param ids - The IDs of the playlist.
* @param pageToken - The token for pagination.
* @example
Expand Down Expand Up @@ -139,7 +139,7 @@ export class PlaylistManager {
* - This operation uses 1 quota unit.
* - Retrieves all playlists when given an authenticated user's channel ID. Otherwise, only public playlists are accessible.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists/list)
* {@link https://developers.google.com/youtube/v3/docs/playlists/list | YouTube Data API Reference}
* @param id - The ID of the channel.
* @param pageToken - The token for pagination.
* @example
Expand Down Expand Up @@ -193,7 +193,7 @@ export class PlaylistManager {
* - There is a limit of approximately 10 playlists per day for creation.
* - For more details, see the issue: https://issuetracker.google.com/issues/255216949
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists/insert)
* {@link https://developers.google.com/youtube/v3/docs/playlists/insert | YouTube Data API Reference}
* @param options - Options for creating a playlist.
*/
public async create(
Expand Down Expand Up @@ -232,7 +232,7 @@ export class PlaylistManager {
* - For example, when updating a playlist that has a description set, if you don't specify the `description`, it will be set to an empty string.
* - However, for the `privacy` property, it seems to remain unchanged if not specified.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists/update)
* {@link https://developers.google.com/youtube/v3/docs/playlists/update | YouTube Data API Reference}
* @param options - Options for updating a playlist.
* @returns - The updated playlist.
*/
Expand Down Expand Up @@ -276,7 +276,7 @@ export class PlaylistManager {
*
* - This operation uses 50 quota units.
*
* [YouTube Data API Reference](https://developers.google.com/youtube/v3/docs/playlists/delete)
* {@link https://developers.google.com/youtube/v3/docs/playlists/delete | YouTube Data API Reference}
* @param playlistId - The ID of the playlist.
*/
public async deleteById(playlistId: string): Promise<void> {
Expand Down

0 comments on commit cfea8d6

Please sign in to comment.