chore(federation): 👽 Initial Versia Working Draft 4.0 support

This commit is contained in:
Jesse Wierzbinski 2024-08-26 19:06:49 +02:00
parent 9c71c3fe51
commit c3fa867e74
No known key found for this signature in database
22 changed files with 269 additions and 197 deletions

View file

@ -1,5 +1,5 @@
import type { Source as ApiSource } from "@lysand-org/client/types";
import type { ContentFormat } from "@lysand-org/federation/types";
import type { ContentFormat } from "@versia/federation/types";
import type { Challenge } from "altcha-lib/types";
import { relations, sql } from "drizzle-orm";
import {
@ -381,9 +381,9 @@ export const Users = pgTable(
}[]
>(),
endpoints: jsonb("endpoints").$type<Partial<{
dislikes: string;
dislikes?: string;
featured: string;
likes: string;
likes?: string;
followers: string;
following: string;
inbox: string;