rudeshark.net/packages/backend/src/services
tamaina efb0ffc4ec
refactor: APIエンドポイントファイルの定義を良い感じにする (#8154)
* Fix API Schema Error

* Delete SimpleSchema/SimpleObj
and Move schemas to dedicated files

* Userのスキーマを分割してみる

* define packMany type

* add ,

* Ensure enum schema and Make "as const" put once

* test?

* Revert "test?"

This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79.

* Revert "Fix API Schema Error"

This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323.

* ✌️

* clean up

* test?

* wip

* wip

* better schema def

* ✌️

* fix

* add minLength property

* wip

* wip

* wip

* anyOf/oneOf/allOfに対応? ~ relation.ts

* refactor!

* Define MinimumSchema

* wip

* wip

* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正

* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正

* Update packages/backend/src/misc/schema.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix

* array oneOfをより正確な型に

* array oneOfをより正確な型に

* wip

* ✌️

* なんかもういろいろ

* remove

* very good schema

* api schema

* wip

* refactor: awaitAllの型定義を変えてみる

* fix

* specify types in awaitAll

* specify types in awaitAll

* ✌️

* wip

* ...

* ✌️

* AllowDateはやめておく

* 不必要なoptional: false, nullable: falseを廃止

* Packedが展開されないように

* 続packed

* wip

* define note type

* wip

* UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように

* wip

* wip

* wip specify user type of other schemas

* ok

* convertSchemaToOpenApiSchemaを改修

* convertSchemaToOpenApiSchemaを改修

* Fix

* fix

* ✌️

* wip

* 分割代入ではなくallOfで定義するように

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
..
blocking fix lint 2021-12-09 23:58:30 +09:00
chart refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
drive enhance: 許可されていないファイルタイプでは、オブジェクトストレージのファイル名に拡張子を付与しないように (#8108) 2022-01-03 07:35:02 +09:00
following refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
i fix lint 2021-12-09 23:58:30 +09:00
messages fix lint 2021-12-09 23:58:30 +09:00
note fix lint 2021-12-09 23:58:30 +09:00
user-list fix lint 2021-12-09 23:58:30 +09:00
add-note-to-antenna.ts fix lint 2021-12-09 23:58:30 +09:00
create-notification.ts refactor(server): use insert instead of save 2022-01-03 02:20:30 +09:00
create-system-user.ts fix lint 2021-12-09 23:58:30 +09:00
fetch-instance-metadata.ts refactoring 2021-11-12 02:02:25 +09:00
insert-moderation-log.ts fix lint 2021-12-09 23:58:30 +09:00
instance-actor.ts fix lint 2021-12-09 23:58:30 +09:00
logger.ts fix lint 2021-12-09 23:58:30 +09:00
push-notification.ts Truncate push notification message (#8089) 2021-12-25 02:01:35 +09:00
register-or-fetch-instance-doc.ts refactoring 2021-11-12 02:02:25 +09:00
relay.ts refactor(server): use insert instead of save 2022-01-03 03:17:16 +09:00
send-email-notification.ts refactoring 2021-11-12 02:02:25 +09:00
send-email.ts refactor 2021-11-12 21:11:21 +09:00
stream.ts bye reversi 2022-01-12 17:34:53 +09:00
suspend-user.ts fix lint 2021-12-09 23:58:30 +09:00
unsuspend-user.ts fix lint 2021-12-09 23:58:30 +09:00
update-hashtag.ts refactoring 2021-11-12 02:02:25 +09:00
validate-email-for-account.ts refactoring 2021-11-12 02:02:25 +09:00