diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2023-12-03 12:45:18 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-03 12:45:18 +0900 |
| commit | e17d741f4b14e3d675f2818fab3ec30c72a39586 (patch) | |
| tree | 03e7b9fb2b57bfd0ca6e3c7ecd61df6dec80d92b /packages/backend/src/models/json-schema | |
| parent | may be fix ruby justify on safari (#12551) (diff) | |
| download | misskey-e17d741f4b14e3d675f2818fab3ec30c72a39586.tar.gz misskey-e17d741f4b14e3d675f2818fab3ec30c72a39586.tar.bz2 misskey-e17d741f4b14e3d675f2818fab3ec30c72a39586.zip | |
enhance(misskey-js) misskey-jsのストリーミングAPI定義をバックエンドに追従 (#12552)
* (enhance) misskey-jsのストリーミングAPI定義をバックエンドに追従
* fix ci
* fix ci
Diffstat (limited to 'packages/backend/src/models/json-schema')
| -rw-r--r-- | packages/backend/src/models/json-schema/signin.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/backend/src/models/json-schema/signin.ts b/packages/backend/src/models/json-schema/signin.ts new file mode 100644 index 0000000000..d27d2490c5 --- /dev/null +++ b/packages/backend/src/models/json-schema/signin.ts @@ -0,0 +1,26 @@ +export const packedSigninSchema = { + type: 'object', + properties: { + id: { + type: 'string', + optional: false, nullable: false, + }, + createdAt: { + type: 'string', + optional: false, nullable: false, + format: 'date-time', + }, + ip: { + type: 'string', + optional: false, nullable: false, + }, + headers: { + type: 'object', + optional: false, nullable: false, + }, + success: { + type: 'boolean', + optional: false, nullable: false, + }, + }, +} as const; |