fix
This commit is contained in:
parent
ef15b9c0d3
commit
ff85376306
|
@ -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'>;
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue