mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
Revert "fix api doc?"
This reverts commit 9e366dc563d376680f277db0d323fb5aa60e5c24.
This commit is contained in:
parent
eea562ce7c
commit
b728c7f722
3 changed files with 0 additions and 17 deletions
|
@ -31,7 +31,6 @@ import { packedQueueCountSchema } from "@/models/schema/queue.js";
|
|||
import { packedGalleryPostSchema } from "@/models/schema/gallery-post.js";
|
||||
import { packedEmojiSchema } from "@/models/schema/emoji.js";
|
||||
import { packedNoteEdit } from "@/models/schema/note-edit.js";
|
||||
import { packedMetaExperimentalFeatures } from "@/models/schema/meta-experimental-features.js";
|
||||
|
||||
export const refs = {
|
||||
UserLite: packedUserLiteSchema,
|
||||
|
@ -66,7 +65,6 @@ export const refs = {
|
|||
FederationInstance: packedFederationInstanceSchema,
|
||||
GalleryPost: packedGalleryPostSchema,
|
||||
Emoji: packedEmojiSchema,
|
||||
MetaExperimentalFeatures: packedMetaExperimentalFeatures,
|
||||
};
|
||||
|
||||
export type Packed<x extends keyof typeof refs> = SchemaType<typeof refs[x]>;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
export const packedMetaExperimentalFeatures = {
|
||||
type: "object",
|
||||
properties: {
|
||||
postEditing: {
|
||||
type: "boolean",
|
||||
optional: false,
|
||||
nullable: false,
|
||||
example: "false",
|
||||
},
|
||||
},
|
||||
} as const;
|
|
@ -492,7 +492,3 @@ export type UserSorting =
|
|||
| "+updatedAt"
|
||||
| "-updatedAt";
|
||||
export type OriginType = "combined" | "local" | "remote";
|
||||
|
||||
export type MetaExperimentalFeatures = {
|
||||
postEditing: boolean;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue