mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
Replace eslint and prettier with Biome
This commit is contained in:
parent
4a5a2ea590
commit
af0d627f19
199 changed files with 16493 additions and 16361 deletions
42
types.d.ts
vendored
42
types.d.ts
vendored
|
|
@ -4,25 +4,25 @@ 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;
|
||||
}
|
||||
}
|
||||
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