/* import got from "got"; import FormData from "form-data"; import stream from "stream"; import config from "../../config"; export interface DriveFile { id: string; } export const client = got.extend({ prefixUrl: config.misskey.instance, }); export function upload(buf: Buffer, filename: string) { const body = new FormData(); body.append("i", config.misskey.token); body.append("file", buf, { filename }); return client.post("drive/files/create", { body }).json(); }; export function createNote() { } */