mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Enable verbatim module syntax + more API routes
This commit is contained in:
parent
991a2cba84
commit
be9b2e3376
84 changed files with 438 additions and 192 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { LysandObjectType } from "./Object";
|
||||
import type { LysandObjectType } from "./Object";
|
||||
|
||||
export interface ExtensionType extends LysandObjectType {
|
||||
type: "Extension";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { Emoji } from "./extensions/org.lysand/custom_emojis";
|
||||
import type { Emoji } from "./extensions/org.lysand/custom_emojis";
|
||||
|
||||
export interface LysandObjectType {
|
||||
type: string;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { ContentFormat } from "../../Object";
|
||||
import type { ContentFormat } from "../../Object";
|
||||
|
||||
export interface Emoji {
|
||||
name: string;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { ExtensionType } from "../../Extension";
|
||||
import type { ExtensionType } from "../../Extension";
|
||||
|
||||
export interface OrgLysandPollsVoteType extends ExtensionType {
|
||||
extension_type: "org.lysand:polls/Vote";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { ExtensionType } from "../../Extension";
|
||||
import type { ExtensionType } from "../../Extension";
|
||||
|
||||
export interface OrgLysandReactionsType extends ExtensionType {
|
||||
extension_type: "org.lysand:reactions/Reaction";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue