-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add exports in index.ts for scrapers and types
- Loading branch information
1 parent
842d617
commit bc658c7
Showing
1 changed file
with
21 additions
and
7 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 |
---|---|---|
@@ -1,9 +1,23 @@ | ||
export type Something = { | ||
text: string; | ||
}; | ||
// scraper exports | ||
export * from "./scrapers/index.js"; | ||
|
||
const t: Something = { | ||
text: "sample text", | ||
}; | ||
// scraper type exports | ||
export * from "./types/scrapers/index.js"; | ||
|
||
console.log(t); | ||
// common anime type exports | ||
// export * from "./types/anime.js"; | ||
|
||
// // anime search type exports | ||
// export * from "./types/animeSearch.js"; | ||
|
||
// helpful constant exports | ||
// export { | ||
// typeIdMap, | ||
// sortIdMap, | ||
// ratedIdMap, | ||
// scoreIdMap, | ||
// genresIdMap, | ||
// seasonIdMap, | ||
// statusIdMap, | ||
// languageIdMap, | ||
// } from "./utils/constants.js"; |