-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from LuckyYam/v3.0.0
Marika now supports all the jikan methods
- Loading branch information
Showing
65 changed files
with
3,686 additions
and
2,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Docs workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
Build: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
package-name: ${{ steps.packageInfo.outputs.package-name }} | ||
package-version: ${{ steps.packageInfo.outputs.package-version }} | ||
commit-msg: ${{ steps.packageInfo.outputs.commit-msg }} | ||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Checkout Commit | ||
uses: actions/checkout@v2 | ||
|
||
- name: Parsing Package Info | ||
id: packageInfo | ||
run: | | ||
echo "::set-output name=package-name::$(jq -r .name package.json)" | ||
echo "::set-output name=package-version::$(jq -r .version package.json)" | ||
echo "::set-output name=commit-msg::$(git log -1 --pretty=%B)" | ||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v2.1.1 | ||
|
||
- name: Install Dependencies | ||
run: yarn install | ||
|
||
- name: Docs Build | ||
run: yarn docs | ||
|
||
- name: Publish to Pages | ||
uses: crazy-max/ghaction-github-pages@v2 | ||
with: | ||
target_branch: gh-pages | ||
build_dir: docs | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,3 +101,4 @@ dist | |
# TernJS port file | ||
.tern-port | ||
|
||
docs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
export enum AnimeTypes { | ||
TV = 'TV', | ||
MOVIE = 'Movie', | ||
SPECIAL = 'Special', | ||
OVA = 'OVA', | ||
ONA = 'ONA', | ||
MUSIC = 'Music' | ||
} | ||
|
||
export enum Ratings { | ||
/** G - All Ages */ | ||
G = 'g', | ||
/** PG - Children */ | ||
PG = 'pg', | ||
/** PG-13 - Teens 13 or older */ | ||
PG_13 = 'pg13', | ||
/** R - 17+ (violence & profanity) */ | ||
R_17 = 'r17', | ||
/** R+ - Mild Nudity */ | ||
R = 'r', | ||
/** Rx - Hentai */ | ||
RX = 'rx' | ||
} | ||
|
||
export enum AnimeStatus { | ||
AIRING = 'airing', | ||
COMPLETE = 'complete', | ||
UPCOMING = 'upcoming' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export enum ClubAccess { | ||
PUBLIC = 'public', | ||
PRIVATE = 'private', | ||
SECRET = 'secret' | ||
} | ||
|
||
export enum ClubCategories { | ||
ANIME = 'anime', | ||
MANGA = 'manga', | ||
ACTORS_AND_ARTISTS = 'actors_and_artists', | ||
CHARACTERS = 'characters', | ||
CITIES_AND_NEIGHBORHOODS = 'cities_and_neighborhoods', | ||
COMPANIES = 'companies', | ||
CONVENTIONS = 'conventions', | ||
GAMES = 'games', | ||
JAPAN = 'japan', | ||
MUSIC = 'music', | ||
OTHER = 'other', | ||
SCHOOLS = 'schools' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export enum GenresFilter { | ||
GENRES = 'genres', | ||
EXPLICIT_GENRES = 'explicit_genres', | ||
THEMES = 'themes', | ||
DEMOGRAPHICS = 'demographics' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
export const API_URL = 'https://api.jikan.moe/v4' | ||
|
||
export enum Sorting { | ||
DESCENDING = 'desc', | ||
ASCENDING = 'asc' | ||
} | ||
|
||
export enum Forums { | ||
ALL = 'all', | ||
EPISODE = 'episode', | ||
OTHER = 'other' | ||
} | ||
|
||
export * from './anime' | ||
export * from './clubs' | ||
export * from './genres' | ||
export * from './manga' | ||
export * from './schedules' | ||
export * from './seasons' | ||
export * from './users' | ||
export * from './top' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export enum MangaTypes { | ||
Manga = 'manga', | ||
Novel = 'novel', | ||
'Light Novel' = 'lightnovel', | ||
'One-shot' = 'oneshot', | ||
Doujin = 'doujin', | ||
Manhwa = 'manhwa', | ||
Manhua = 'manhua' | ||
} | ||
|
||
export enum MangaStatus { | ||
PUBLISHING = 'publishing', | ||
COMPLETE = 'complete', | ||
HIATUS = 'hiatus', | ||
DISCONTINUED = 'discontinued', | ||
UPCOMING = 'upcoming' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export enum Days { | ||
MONDAY = 'monday', | ||
TUESDAY = 'tuesday', | ||
WEDNESDAY = 'wednesday', | ||
THURSDAY = 'thursday', | ||
FRIDAY = 'friday', | ||
SATURDAY = 'saturday', | ||
SUNDAY = 'sunday' | ||
} |
Oops, something went wrong.