Revert "fix api doc?"

This reverts commit 9e366dc563.
This commit is contained in:
ThatOneCalculator 2023-05-19 23:21:00 -07:00
parent 7a004d8850
commit b4983ef56f
No known key found for this signature in database
GPG key ID: 8703CACD01000000
3 changed files with 0 additions and 17 deletions

View file

@ -31,7 +31,6 @@ import { packedQueueCountSchema } from "@/models/schema/queue.js";
import { packedGalleryPostSchema } from "@/models/schema/gallery-post.js"; import { packedGalleryPostSchema } from "@/models/schema/gallery-post.js";
import { packedEmojiSchema } from "@/models/schema/emoji.js"; import { packedEmojiSchema } from "@/models/schema/emoji.js";
import { packedNoteEdit } from "@/models/schema/note-edit.js"; import { packedNoteEdit } from "@/models/schema/note-edit.js";
import { packedMetaExperimentalFeatures } from "@/models/schema/meta-experimental-features.js";
export const refs = { export const refs = {
UserLite: packedUserLiteSchema, UserLite: packedUserLiteSchema,
@ -66,7 +65,6 @@ export const refs = {
FederationInstance: packedFederationInstanceSchema, FederationInstance: packedFederationInstanceSchema,
GalleryPost: packedGalleryPostSchema, GalleryPost: packedGalleryPostSchema,
Emoji: packedEmojiSchema, Emoji: packedEmojiSchema,
MetaExperimentalFeatures: packedMetaExperimentalFeatures,
}; };
export type Packed<x extends keyof typeof refs> = SchemaType<typeof refs[x]>; export type Packed<x extends keyof typeof refs> = SchemaType<typeof refs[x]>;

View file

@ -1,11 +0,0 @@
export const packedMetaExperimentalFeatures = {
type: "object",
properties: {
postEditing: {
type: "boolean",
optional: false,
nullable: false,
example: "false",
},
},
} as const;

View file

@ -492,7 +492,3 @@ export type UserSorting =
| "+updatedAt" | "+updatedAt"
| "-updatedAt"; | "-updatedAt";
export type OriginType = "combined" | "local" | "remote"; export type OriginType = "combined" | "local" | "remote";
export type MetaExperimentalFeatures = {
postEditing: boolean;
};