From 15ef1a082d406fcd0787ac93ef8819f535f53733 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 15 May 2023 08:42:47 +0000 Subject: [PATCH] wip --- packages/misskey-js/src/schemas.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/misskey-js/src/schemas.ts b/packages/misskey-js/src/schemas.ts index b0edd395f4..5558b01ba9 100644 --- a/packages/misskey-js/src/schemas.ts +++ b/packages/misskey-js/src/schemas.ts @@ -33,6 +33,8 @@ import { packedQueueCountSchema } from './schemas/queue.js'; import { packedGalleryPostSchema } from './schemas/gallery-post.js'; import { packedEmojiDetailedSchema, packedEmojiSimpleSchema } from './schemas/emoji.js'; import { packedFlashSchema } from './schemas/flash.js'; +import { packedAdSchema } from './schemas/ad.js'; +import { packedAnnouncementSchema } from './schemas/announcement.js'; import type { JSONSchema7, JSONSchema7Definition, GetDef, GetRefs, GetKeys, UnionToArray } from 'schema-type'; export const refs = { @@ -70,6 +72,8 @@ export const refs = { EmojiSimple: packedEmojiSimpleSchema, EmojiDetailed: packedEmojiDetailedSchema, Flash: packedFlashSchema, + Ad: packedAdSchema, + Announcement: packedAnnouncementSchema, } as const satisfies { [x: string]: JSONSchema7Definition }; type References = GetRefs;