diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2023-11-21 11:13:56 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-21 11:13:56 +0900 |
| commit | 8bd9077f77eaebaa4dff403e072ba49e4cab1326 (patch) | |
| tree | 91e217c04667b3d1d7a2abdb7f911c54cd1ae775 /packages/backend/src/models/json-schema/flash.ts | |
| parent | update api.md (#12379) (diff) | |
| download | sharkey-8bd9077f77eaebaa4dff403e072ba49e4cab1326.tar.gz sharkey-8bd9077f77eaebaa4dff403e072ba49e4cab1326.tar.bz2 sharkey-8bd9077f77eaebaa4dff403e072ba49e4cab1326.zip | |
json-schema配下の最新化 (#12312)
* user.ts、page.ts、drive-folder.tsを各EntityServiceの戻り値をもとに最新化
* 再確認
* fix error
* note以外の残りのファイルを対応
* fix CHANGELOG.md
* fix CHANGELOG.md
* fix user.ts
* fix user.ts
* コメント対応
* fix note.ts
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src/models/json-schema/flash.ts')
| -rw-r--r-- | packages/backend/src/models/json-schema/flash.ts | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/packages/backend/src/models/json-schema/flash.ts b/packages/backend/src/models/json-schema/flash.ts index 9453ba1dce..f08fa7a279 100644 --- a/packages/backend/src/models/json-schema/flash.ts +++ b/packages/backend/src/models/json-schema/flash.ts @@ -22,26 +22,26 @@ export const packedFlashSchema = { optional: false, nullable: false, format: 'date-time', }, - title: { + userId: { type: 'string', optional: false, nullable: false, + format: 'id', }, - summary: { - type: 'string', + user: { + type: 'object', + ref: 'UserLite', optional: false, nullable: false, }, - script: { + title: { type: 'string', optional: false, nullable: false, }, - userId: { + summary: { type: 'string', optional: false, nullable: false, - format: 'id', }, - user: { - type: 'object', - ref: 'UserLite', + script: { + type: 'string', optional: false, nullable: false, }, likedCount: { |