Export requestJSON and requestRAW to core, formatting and adapting code and removing yandere code for update.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { assert } from "@std/assert/assert";
|
||||
import { ImageResponse, postUrl, requestJSON } from "./api.ts";
|
||||
import { requestJSON } from "@root/structures/apiRequest.ts";
|
||||
import { Embed, EmbedAuthor, EmbedImage } from "@root/structures/embeds.ts";
|
||||
import { ImageResponse, postUrl } from "./api.ts";
|
||||
|
||||
const keys = ["limit", "id", "pid", "tags"] as const;
|
||||
type PostKeys = typeof keys[number];
|
||||
|
||||
Reference in New Issue
Block a user