This commit is contained in:
tamaina 2023-05-02 17:57:56 +00:00
parent ef15b9c0d3
commit ff85376306
2 changed files with 2 additions and 2 deletions

View file

@ -76,3 +76,5 @@ export type References = [
];
export type Packed<T extends keyof typeof refs> = FromSchema<typeof refs[T], { references: References }>
export type PackedNote = Packed<'Note'>;

View file

@ -21,7 +21,6 @@ export const packedNoteSchema = {
},
text: {
type: 'string',
optional: false, nullable: true,
},
cw: {
oneOf: [{ type: 'string' }, { type: 'null' }],
@ -131,7 +130,6 @@ export const packedNoteSchema = {
},
renoteCount: {
type: 'number',
optional: false, nullable: false,
},
repliesCount: {
type: 'number',