mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
Remove Prisma once and for all
This commit is contained in:
parent
90d522eaa3
commit
a65249b79d
18 changed files with 112 additions and 563 deletions
28
types.d.ts
vendored
28
types.d.ts
vendored
|
|
@ -1,28 +0,0 @@
|
|||
import type { LysandObject } from "@prisma/client";
|
||||
import type { APIAccount } from "~types/entities/account";
|
||||
import type { APIField } from "~types/entities/field";
|
||||
import type { ContentFormat } from "~types/lysand/Object";
|
||||
|
||||
declare namespace global {
|
||||
namespace PrismaJson {
|
||||
type InstanceLogo = ContentFormat[];
|
||||
type ObjectData = LysandObject;
|
||||
type ObjectExtensions = LysandObject["extensions"];
|
||||
interface UserEndpoints {
|
||||
inbox: string;
|
||||
liked: string;
|
||||
outbox: string;
|
||||
disliked: string;
|
||||
featured: string;
|
||||
followers: string;
|
||||
following: string;
|
||||
}
|
||||
interface UserSource {
|
||||
note: string;
|
||||
fields: APIField[];
|
||||
privacy: APIAccount["privacy"];
|
||||
language: string;
|
||||
sensitive: boolean;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue