style: prettier format changes

This commit is contained in:
Ritesh Ghosh
2025-05-11 13:05:23 +05:30
parent 21ca35904b
commit 797fc2455c
17 changed files with 326 additions and 339 deletions
+3 -17
View File
@@ -1,35 +1,21 @@
# [2.12.0](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.3...v2.12.0) (2025-04-14) # [2.12.0](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.3...v2.12.0) (2025-04-14)
### Features ### Features
* **getNextEpisodeSchedule:** add `/anime/:animeId/next-episode-schedule` endpoint ([f5cd341](https://github.com/ghoshRitesh12/aniwatch-api/commit/f5cd3415d8134da1ab1e3b3f8f9be6b5212aa353)) - **getNextEpisodeSchedule:** add `/anime/:animeId/next-episode-schedule` endpoint ([f5cd341](https://github.com/ghoshRitesh12/aniwatch-api/commit/f5cd3415d8134da1ab1e3b3f8f9be6b5212aa353))
## [2.11.3](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.2...v2.11.3) (2025-03-20) ## [2.11.3](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.2...v2.11.3) (2025-03-20)
## [2.11.2](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.1...v2.11.2) (2025-03-15) ## [2.11.2](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.1...v2.11.2) (2025-03-15)
## [2.11.1](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.0...v2.11.1) (2025-01-01) ## [2.11.1](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.11.0...v2.11.1) (2025-01-01)
### Bug Fixes ### Bug Fixes
* **ts build error:** fixed ts build error due to conflicting types ([cb5a467](https://github.com/ghoshRitesh12/aniwatch-api/commit/cb5a4672a8c3b0729bbb4522a3af252f7b336b97)) - **ts build error:** fixed ts build error due to conflicting types ([cb5a467](https://github.com/ghoshRitesh12/aniwatch-api/commit/cb5a4672a8c3b0729bbb4522a3af252f7b336b97))
# [2.11.0](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.10.0...v2.11.0) (2024-12-25) # [2.11.0](https://github.com/ghoshRitesh12/aniwatch-api/compare/v2.10.0...v2.11.0) (2024-12-25)
### Features ### Features
* **`/qtip`:** add new `/qtip` endpoint ([f0acd89](https://github.com/ghoshRitesh12/aniwatch-api/commit/f0acd89d87e5e62c12e20a95225ca9261fefe411)) - **`/qtip`:** add new `/qtip` endpoint ([f0acd89](https://github.com/ghoshRitesh12/aniwatch-api/commit/f0acd89d87e5e62c12e20a95225ca9261fefe411))
+2 -2
View File
@@ -14,7 +14,7 @@
# <p align="center">Aniwatch API</p> # <p align="center">Aniwatch API</p>
<div align="center"> <div align="center">
A free RESTful API serving anime information from <a href="https://hianime.to" target="_blank">hianime.to</a> A free RESTful API serving anime information from <a href="https://hianimez.to" target="_blank">hianimez.to</a>
<br/> <br/>
@@ -56,7 +56,7 @@
> [!IMPORTANT] > [!IMPORTANT]
> >
> 1. [https://api-aniwatch.onrender.com](https://api-aniwatch.onrender.com/) is only meant to demo the API and has rate-limiting enabled to minimize bandwidth consumption. It is recommended to deploy your own instance for personal use by customizing the API as you need it to be. > 1. [https://api-aniwatch.onrender.com](https://api-aniwatch.onrender.com/) is only meant to demo the API and has rate-limiting enabled to minimize bandwidth consumption. It is recommended to deploy your own instance for personal use by customizing the API as you need it to be.
> 2. This API is just an unofficial API for [hianime.to](https://hianime.to) and is in no other way officially related to the same. > 2. This API is just an unofficial API for [hianimez.to](https://hianimez.to) and is in no other way officially related to the same.
> 3. The content that this API provides is not mine, nor is it hosted by me. These belong to their respective owners. This API just demonstrates how to build an API that scrapes websites and uses their content. > 3. The content that this API provides is not mine, nor is it hosted by me. These belong to their respective owners. This API just demonstrates how to build an API that scrapes websites and uses their content.
## Table of Contents ## Table of Contents
+14 -13
View File
@@ -23,19 +23,18 @@
<meta name="twitter:card" content="summary_image"> <meta name="twitter:card" content="summary_image">
<meta name="twitter:site" content="@aniwatch-api"> <meta name="twitter:site" content="@aniwatch-api">
<meta name="twitter:title" content="Aniwatch API"> <meta name="twitter:title" content="Aniwatch API">
<meta name="twitter:description" content="Node.js API for obtaining anime information from hianime.to"> <meta name="twitter:description" content="Node.js API for obtaining anime information from hianimez.to">
<meta name="twitter:image:src" <meta name="twitter:image:src"
content="https://raw.githubusercontent.com/ghoshRitesh12/aniwatch-api/refs/heads/main/public/img/hianime_v2.png"> content="https://raw.githubusercontent.com/ghoshRitesh12/aniwatch-api/refs/heads/main/public/img/hianime_v2.png">
<meta name="keywords" content="hianime api scraper anime aniwatch node express typescript"> <meta name="keywords" content="hianime api scraper anime aniwatch node express typescript">
<meta property="og:title" content="Aniwatch API"> <meta property="og:title" content="Aniwatch API">
<meta name="description" content="Node.js API for obtaining anime information from hianime.to"> <meta name="description" content="Node.js API for obtaining anime information from hianimez.to">
<meta property="og:description" content="Node.js API for obtaining anime information from hianime.to"> <meta property="og:description" content="Node.js API for obtaining anime information from hianimez.to">
<link rel="shortcut icon" <link rel="shortcut icon"
href="https://raw.githubusercontent.com/ghoshRitesh12/aniwatch-api/refs/heads/main/public/img/hianime_v2.png"> href="https://raw.githubusercontent.com/ghoshRitesh12/aniwatch-api/refs/heads/main/public/img/hianime_v2.png">
<style> <style>
* { * {
--accent: #d5b3ff;
box-sizing: border-box; box-sizing: border-box;
font-family: sans-serif; font-family: sans-serif;
transition: transition:
@@ -46,8 +45,10 @@
} }
html { html {
color-scheme: dark; --accent: #d5b3ff;
height: 100%; height: 100%;
color-scheme: dark;
} }
body { body {
@@ -134,7 +135,7 @@
right: 0; right: 0;
z-index: 2; z-index: 2;
background: url("https://hianime.to/images/live-thumb.png") repeat; background: url("https://raw.githubusercontent.com/ghoshRitesh12/aniwatch-api/refs/heads/main/public/img/dot.png") repeat;
} }
h2 { h2 {
@@ -203,7 +204,7 @@
IMPORTANT: IMPORTANT:
1. The hosted version of this API is only meant to demo the API and would have rate-limiting enabled to minimise bandwidth 1. The hosted version of this API is only meant to demo the API and would have rate-limiting enabled to minimise bandwidth
consumption. It is recommended to deploy your own instance for personal use by customizing the API as you need it to be. consumption. It is recommended to deploy your own instance for personal use by customizing the API as you need it to be.
2. This API is just an unofficial API for hianime.to and is in no other way officially related to the same. 2. This API is just an unofficial API for hianimez.to and is in no other way officially related to the same.
3. The content that this API provides is not mine, nor is it hosted by me. These belong to their respective owners. This 3. The content that this API provides is not mine, nor is it hosted by me. These belong to their respective owners. This
API just demonstrates how to build an API that scrapes websites and uses their content. API just demonstrates how to build an API that scrapes websites and uses their content.
--> -->
@@ -216,7 +217,7 @@ API just demonstrates how to build an API that scrapes websites and uses their c
<section> <section>
<h2> <h2>
Welcome to the unofficial Welcome to the unofficial
<a href="https://hianime.to/home" style="text-underline-offset: 3px;">hianime.to</a> <a href="https://hianimez.to/home" style="text-underline-offset: 3px;">hianimez.to</a>
API API
<span style="-webkit-text-fill-color: var(--accent)">⚔️</span> <span style="-webkit-text-fill-color: var(--accent)">⚔️</span>
</h2> </h2>
@@ -231,12 +232,11 @@ API just demonstrates how to build an API that scrapes websites and uses their c
decoding="async"> decoding="async">
</a> </a>
<a href="https://github.com/ghoshRitesh12/aniwatch-api/issues?q=is%3Aissue+is%3Aopen+"> <a href="https://github.com/ghoshRitesh12/aniwatch-api/issues?q=is%3Aissue+is%3Aopen+">
<img src="https://img.shields.io/github/issues/ghoshRitesh12/aniwatch-api?style=social&logo=github" alt="Issues" <img src="https://img.shields.io/github/issues/ghoshRitesh12/aniwatch-api?style=social&logo=github"
decoding="async"> alt="Issues" decoding="async">
</a> </a>
<a href="https://github.com/ghoshRitesh12/aniwatch-api/releases/latest"> <a href="https://github.com/ghoshRitesh12/aniwatch-api/releases/latest">
<img <img src="https://img.shields.io/github/v/release/ghoshRitesh12/aniwatch-api?display_name=release&style=social&logo=github"
src="https://img.shields.io/github/v/release/ghoshRitesh12/aniwatch-api?display_name=release&style=social&logo=github"
alt="Version" decoding="async"> alt="Version" decoding="async">
</a> </a>
</div> </div>
@@ -268,7 +268,8 @@ API just demonstrates how to build an API that scrapes websites and uses their c
<a href="https://github.com/ghoshRitesh12/aniwatch-api/graphs/contributors" <a href="https://github.com/ghoshRitesh12/aniwatch-api/graphs/contributors"
style="display: block; margin-bottom: 1rem; user-select: none;"> style="display: block; margin-bottom: 1rem; user-select: none;">
<img src="https://contrib.rocks/image?repo=ghoshRitesh12/aniwatch-api" alt="Contributors" decoding="async"> <img src="https://contrib.rocks/image?repo=ghoshRitesh12/aniwatch-api" alt="Contributors"
decoding="async">
</a> </a>
</div> </div>
</section> </section>
+1 -1
View File
@@ -5,4 +5,4 @@ type CacheVariables = {
}; };
}; };
export type AniwatchAPIVariables = {} & CacheVariables; export type AniwatchAPIVariables = CacheVariables & {};