move to biomejs, add workflow move auth to header check readme
All checks were successful
Code quality checks / biome (push) Successful in 13s

This commit is contained in:
creations 2025-04-15 17:33:24 -04:00
parent 73ab535df6
commit 9cb178aea4
Signed by: creations
GPG key ID: 8F553AA4320FC711
18 changed files with 368 additions and 340 deletions

View file

@ -1,7 +1,5 @@
// cSpell:disable
import { gelBooruAUTH, getE621Auth } from "@config/environment";
const booruDefaults: IBooruDefaults = {
search: "index.php?page=dapi&s=post&q=index&json=1",
random: "s",
@ -68,7 +66,6 @@ export const booruConfig: IBooruConfigMap = {
random: "defaultRandom",
id: ["posts/", ".json"],
},
auth: getE621Auth(),
},
"gelbooru.com": {
enabled: true,
@ -77,6 +74,5 @@ export const booruConfig: IBooruConfigMap = {
endpoint: "gelbooru.com",
autocomplete: "gelbooru.com/index.php?page=autocomplete&term=",
functions: booruDefaults,
auth: gelBooruAUTH(),
},
};