diff --git a/src/server/api/endpoints/admin/emoji/list-remote.ts b/src/server/api/endpoints/admin/emoji/list-remote.ts index bd0b3dfc30..f1cfbdd3e2 100644 --- a/src/server/api/endpoints/admin/emoji/list-remote.ts +++ b/src/server/api/endpoints/admin/emoji/list-remote.ts @@ -14,12 +14,12 @@ export const meta = { params: { query: { validator: $.optional.nullable.str, - default: null as any + default: null }, host: { validator: $.optional.nullable.str, - default: null as any + default: null }, limit: { diff --git a/src/server/api/endpoints/admin/emoji/list.ts b/src/server/api/endpoints/admin/emoji/list.ts index 4473fbdd1f..3f3e49396b 100644 --- a/src/server/api/endpoints/admin/emoji/list.ts +++ b/src/server/api/endpoints/admin/emoji/list.ts @@ -14,7 +14,7 @@ export const meta = { params: { query: { validator: $.optional.nullable.str, - default: null as any + default: null }, limit: { diff --git a/src/server/api/endpoints/admin/logs.ts b/src/server/api/endpoints/admin/logs.ts index cb49bf6021..e719ce19c7 100644 --- a/src/server/api/endpoints/admin/logs.ts +++ b/src/server/api/endpoints/admin/logs.ts @@ -17,12 +17,12 @@ export const meta = { level: { validator: $.optional.nullable.str, - default: null as any + default: null }, domain: { validator: $.optional.nullable.str, - default: null as any + default: null } }, diff --git a/src/server/api/endpoints/app/create.ts b/src/server/api/endpoints/app/create.ts index b5629e4436..500567bf29 100644 --- a/src/server/api/endpoints/app/create.ts +++ b/src/server/api/endpoints/app/create.ts @@ -26,7 +26,7 @@ export const meta = { // TODO: Check it is valid url callbackUrl: { validator: $.optional.nullable.str, - default: null as any, + default: null, }, }, diff --git a/src/server/api/endpoints/drive/files.ts b/src/server/api/endpoints/drive/files.ts index 60cb8c5134..1e821b0085 100644 --- a/src/server/api/endpoints/drive/files.ts +++ b/src/server/api/endpoints/drive/files.ts @@ -27,7 +27,7 @@ export const meta = { folderId: { validator: $.optional.nullable.type(ID), - default: null as any, + default: null, }, type: { diff --git a/src/server/api/endpoints/drive/files/create.ts b/src/server/api/endpoints/drive/files/create.ts index 7da9a20f8f..a8f6b92014 100644 --- a/src/server/api/endpoints/drive/files/create.ts +++ b/src/server/api/endpoints/drive/files/create.ts @@ -24,12 +24,12 @@ export const meta = { params: { folderId: { validator: $.optional.nullable.type(ID), - default: null as any, + default: null, }, name: { validator: $.optional.nullable.str, - default: null as any, + default: null, }, isSensitive: { diff --git a/src/server/api/endpoints/drive/files/find.ts b/src/server/api/endpoints/drive/files/find.ts index f95504a00a..b7f2571453 100644 --- a/src/server/api/endpoints/drive/files/find.ts +++ b/src/server/api/endpoints/drive/files/find.ts @@ -17,7 +17,7 @@ export const meta = { folderId: { validator: $.optional.nullable.type(ID), - default: null as any, + default: null, }, }, diff --git a/src/server/api/endpoints/drive/files/upload-from-url.ts b/src/server/api/endpoints/drive/files/upload-from-url.ts index 65213be6ae..8dfc86e660 100644 --- a/src/server/api/endpoints/drive/files/upload-from-url.ts +++ b/src/server/api/endpoints/drive/files/upload-from-url.ts @@ -26,7 +26,7 @@ export const meta = { folderId: { validator: $.optional.nullable.type(ID), - default: null as any, + default: null, }, isSensitive: { @@ -36,12 +36,12 @@ export const meta = { comment: { validator: $.optional.nullable.str, - default: null as any, + default: null, }, marker: { validator: $.optional.nullable.str, - default: null as any, + default: null, }, force: { diff --git a/src/server/api/endpoints/drive/folders.ts b/src/server/api/endpoints/drive/folders.ts index 014f986f9b..c446d546cc 100644 --- a/src/server/api/endpoints/drive/folders.ts +++ b/src/server/api/endpoints/drive/folders.ts @@ -27,7 +27,7 @@ export const meta = { folderId: { validator: $.optional.nullable.type(ID), - default: null as any, + default: null, } }, diff --git a/src/server/api/endpoints/drive/folders/find.ts b/src/server/api/endpoints/drive/folders/find.ts index f99e2fe1d7..c8e7639e63 100644 --- a/src/server/api/endpoints/drive/folders/find.ts +++ b/src/server/api/endpoints/drive/folders/find.ts @@ -17,7 +17,7 @@ export const meta = { parentId: { validator: $.optional.nullable.type(ID), - default: null as any, + default: null, }, }, diff --git a/src/server/api/endpoints/notes/create.ts b/src/server/api/endpoints/notes/create.ts index 7410d28cb0..beeacb5374 100644 --- a/src/server/api/endpoints/notes/create.ts +++ b/src/server/api/endpoints/notes/create.ts @@ -50,7 +50,7 @@ export const meta = { && length(text.trim()) <= maxNoteTextLength && Array.from(text.trim()).length <= DB_MAX_NOTE_TEXT_LENGTH // DB limit ), - default: null as any, + default: null, }, cw: { diff --git a/src/server/api/endpoints/notes/search-by-tag.ts b/src/server/api/endpoints/notes/search-by-tag.ts index b7d41d9e71..bbada17613 100644 --- a/src/server/api/endpoints/notes/search-by-tag.ts +++ b/src/server/api/endpoints/notes/search-by-tag.ts @@ -23,12 +23,12 @@ export const meta = { reply: { validator: $.optional.nullable.bool, - default: null as any, + default: null, }, renote: { validator: $.optional.nullable.bool, - default: null as any, + default: null, }, withFiles: { @@ -37,7 +37,7 @@ export const meta = { poll: { validator: $.optional.nullable.bool, - default: null as any, + default: null, }, sinceId: {