mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 20:13:09 +02:00
wip
This commit is contained in:
parent
cdfab72b35
commit
15ef1a082d
1 changed files with 4 additions and 0 deletions
|
@ -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<typeof refs>;
|
||||
|
|
Loading…
Reference in a new issue