mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 12:03:08 +02:00
fix
This commit is contained in:
parent
ef15b9c0d3
commit
ff85376306
2 changed files with 2 additions and 2 deletions
|
@ -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