This commit is contained in:
tamaina
2023-05-02 17:31:17 +00:00
parent abefddb90e
commit ef15b9c0d3
6 changed files with 106 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
import type { JSONSchema7Reference } from 'json-schema-to-ts';
export const packedAntennaSchema = {
$id: '/schemas/Antenna',
@@ -88,4 +90,4 @@ export const packedAntennaSchema = {
'isActive',
'hasUnreadNote',
],
} as const;
} as const satisfies JSONSchema7Reference;

View File

@@ -1,3 +1,5 @@
import type { JSONSchema7Reference } from 'json-schema-to-ts';
export const packedNoteSchema = {
$id: '/schemas/Note',
@@ -156,4 +158,4 @@ export const packedNoteSchema = {
'renoteCount',
'repliesCount',
],
} as const;
} as const satisfies JSONSchema7Reference;