Skip to content

Commit

Permalink
note.tsのchannelを正しい形にしたことにより表出化した型チェックエラーを修正 (#12395)
Browse files Browse the repository at this point in the history
Co-authored-by: osamu <[email protected]>
  • Loading branch information
samunohito and samunohito authored Nov 21, 2023
1 parent 77ac51a commit b5be0e5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/backend/src/models/json-schema/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,19 @@ export const packedNoteSchema = {
},
name: {
type: 'string',
optional: false, nullable: true,
optional: false, nullable: false,
},
color: {
type: 'string',
optional: false, nullable: false,
},
isSensitive: {
type: 'boolean',
optional: true, nullable: false,
optional: false, nullable: false,
},
allowRenoteToExternal: {
type: 'boolean',
optional: false, nullable: false,
},
},
},
Expand Down

0 comments on commit b5be0e5

Please sign in to comment.