mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
docs(federation): 📝 Update SDK documentation
This commit is contained in:
parent
f79b0bc999
commit
45e5460975
67 changed files with 332 additions and 65 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import type { ContentFormatSchema } from "@versia/sdk/schemas";
|
||||
import { htmlToText as htmlToTextLib } from "html-to-text";
|
||||
import { lookup } from "mime-types";
|
||||
import type { z } from "zod";
|
||||
import { config } from "~/config.ts";
|
||||
import type { ContentFormatSchema } from "~/packages/sdk/schemas";
|
||||
|
||||
export const getBestContentType = (
|
||||
content?: z.infer<typeof ContentFormatSchema> | null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue