mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-03 19:27:28 +00: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 { packedGalleryPostSchema } from './schemas/gallery-post.js';
|
||||||
import { packedEmojiDetailedSchema, packedEmojiSimpleSchema } from './schemas/emoji.js';
|
import { packedEmojiDetailedSchema, packedEmojiSimpleSchema } from './schemas/emoji.js';
|
||||||
import { packedFlashSchema } from './schemas/flash.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';
|
import type { JSONSchema7, JSONSchema7Definition, GetDef, GetRefs, GetKeys, UnionToArray } from 'schema-type';
|
||||||
|
|
||||||
export const refs = {
|
export const refs = {
|
||||||
|
@ -70,6 +72,8 @@ export const refs = {
|
||||||
EmojiSimple: packedEmojiSimpleSchema,
|
EmojiSimple: packedEmojiSimpleSchema,
|
||||||
EmojiDetailed: packedEmojiDetailedSchema,
|
EmojiDetailed: packedEmojiDetailedSchema,
|
||||||
Flash: packedFlashSchema,
|
Flash: packedFlashSchema,
|
||||||
|
Ad: packedAdSchema,
|
||||||
|
Announcement: packedAnnouncementSchema,
|
||||||
} as const satisfies { [x: string]: JSONSchema7Definition };
|
} as const satisfies { [x: string]: JSONSchema7Definition };
|
||||||
|
|
||||||
type References = GetRefs<typeof refs>;
|
type References = GetRefs<typeof refs>;
|
||||||
|
|
Loading…
Reference in a new issue