Skip to content

Commit

Permalink
refactor: refactoring the code
Browse files Browse the repository at this point in the history
  • Loading branch information
iseizuu committed May 28, 2024
1 parent 4ce3b00 commit 88d25dd
Show file tree
Hide file tree
Showing 16 changed files with 130 additions and 127 deletions.
16 changes: 16 additions & 0 deletions dist/config.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export declare const free4kWallpaper = "https://free4kwallpapers.com";
export declare const wallHaven = "https://wallhaven.cc";
export declare const zerochan = "https://www.zerochan.net";
export declare const wallpapers = "https://wallpapers.com";
export declare const type: {
sfw: string;
sketchy: string;
both: string;
};
export declare const channelID: {
1: number;
2: number;
4: number;
6: number;
8: number;
};
20 changes: 20 additions & 0 deletions dist/config.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 0 additions & 11 deletions dist/config.json

This file was deleted.

1 change: 0 additions & 1 deletion dist/hoyo.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ export default class Hoyolab {
* @throws {AnimeWallError} - If result is empty or error.
*/
getHoyoArt(options: hoyolab): Promise<hoyoResult>;
private HoyoTools;
}
16 changes: 3 additions & 13 deletions dist/hoyo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions dist/structure/client.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import Hoyolab from "../hoyo";
import Requested from "../utils/request";
import * as config from "../config";
export default class Client {
get: Requested;
readonly config: typeof config;
constructor();
decode(b64: string): string;
mihoyo(): Hoyolab;
}
30 changes: 29 additions & 1 deletion dist/structure/client.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 88d25dd

Please sign in to comment.