Enable verbatim module syntax + more API routes

This commit is contained in:
Jesse Wierzbinski 2023-11-22 18:10:37 -10:00
parent 991a2cba84
commit be9b2e3376
No known key found for this signature in database
84 changed files with 438 additions and 192 deletions

View file

@ -1,4 +1,4 @@
import { LysandObjectType } from "./Object";
import type { LysandObjectType } from "./Object";
export interface ExtensionType extends LysandObjectType {
type: "Extension";

View file

@ -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;

View file

@ -1,4 +1,4 @@
import { ContentFormat } from "../../Object";
import type { ContentFormat } from "../../Object";
export interface Emoji {
name: string;

View file

@ -1,4 +1,4 @@
import { ExtensionType } from "../../Extension";
import type { ExtensionType } from "../../Extension";
export interface OrgLysandPollsVoteType extends ExtensionType {
extension_type: "org.lysand:polls/Vote";

View file

@ -1,4 +1,4 @@
import { ExtensionType } from "../../Extension";
import type { ExtensionType } from "../../Extension";
export interface OrgLysandReactionsType extends ExtensionType {
extension_type: "org.lysand:reactions/Reaction";