iceshrimp-161sh/packages/backend/src/misc
tamaina 66ef4f1ebe 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
..
id refactoring 2021-11-12 02:02:25 +09:00
antenna-cache.ts refactoring 2021-11-12 02:02:25 +09:00
api-permissions.ts refactoring 2021-11-12 02:02:25 +09:00
app-lock.ts refactoring 2021-11-12 02:02:25 +09:00
before-shutdown.ts refactoring 2021-11-12 02:02:25 +09:00
cache.ts fix lint 2021-12-09 23:58:30 +09:00
cafy-id.ts fix lint errors 2021-11-12 10:52:10 +09:00
captcha.ts fix lint 2021-12-09 23:58:30 +09:00
check-hit-antenna.ts fix lint 2021-12-09 23:58:30 +09:00
check-word-mute.ts refactoring 2021-11-12 02:02:25 +09:00
content-disposition.ts refactoring 2021-11-12 02:02:25 +09:00
convert-host.ts refactoring 2021-11-12 02:02:25 +09:00
count-same-renotes.ts refactoring 2021-11-12 02:02:25 +09:00
create-temp.ts refactoring 2021-11-12 02:02:25 +09:00
detect-url-mime.ts refactoring 2021-11-12 02:02:25 +09:00
download-text-file.ts refactoring 2021-11-12 02:02:25 +09:00
download-url.ts feat: カスタム絵文字エクスポート 2021-12-10 18:24:26 +09:00
emoji-regex.ts refactoring 2021-11-12 02:02:25 +09:00
extract-custom-emojis-from-mfm.ts refactoring 2021-11-12 02:02:25 +09:00
extract-hashtags.ts refactoring 2021-11-12 02:02:25 +09:00
extract-mentions.ts refactoring 2021-11-12 02:02:25 +09:00
fetch-meta.ts fix lint 2021-12-09 23:58:30 +09:00
fetch-proxy-account.ts refactoring 2021-11-12 02:02:25 +09:00
fetch.ts fix lint 2021-12-09 23:58:30 +09:00
gen-id.ts refactoring 2021-11-12 02:02:25 +09:00
gen-identicon.ts refactor: more common name 2022-01-16 10:45:48 +09:00
gen-key-pair.ts fix lint 2021-12-09 23:58:30 +09:00
get-file-info.ts refactor 2021-12-26 01:42:06 +09:00
get-note-summary.ts refactoring 2021-11-12 02:02:25 +09:00
get-reaction-emoji.ts refactoring 2021-11-12 02:02:25 +09:00
hard-limits.ts refactoring 2021-11-12 02:02:25 +09:00
i18n.ts refactoring 2021-11-12 02:02:25 +09:00
identifiable-error.ts refactoring 2021-11-12 02:02:25 +09:00
is-blocker-user-related.ts refactoring 2021-11-12 02:02:25 +09:00
is-duplicate-key-value-error.ts refactoring 2021-11-12 02:02:25 +09:00
is-instance-muted.ts feat: user-level instance mute (#7712) 2021-12-09 21:38:56 +09:00
is-muted-user-related.ts refactoring 2021-11-12 02:02:25 +09:00
is-quote.ts refactoring 2021-11-12 02:02:25 +09:00
keypair-store.ts refactoring 2021-11-12 02:02:25 +09:00
normalize-for-search.ts refactoring 2021-11-12 02:02:25 +09:00
nyaize.ts refactoring 2021-11-12 02:02:25 +09:00
populate-emojis.ts fix for lint 2021-11-13 19:10:14 +09:00
reaction-lib.ts fix lint 2021-12-09 23:58:30 +09:00
safe-for-sql.ts refactoring 2021-11-12 02:02:25 +09:00
schema.ts refactor: APIエンドポイントファイルの定義を良い感じにする (#8154) 2022-01-18 22:27:10 +09:00
secure-rndstr.ts refactoring 2021-11-12 02:02:25 +09:00
show-machine-info.ts refactoring 2021-11-12 02:02:25 +09:00
truncate.ts refactoring 2021-11-12 02:02:25 +09:00