From d33f74adda20cd7a8b7e2bc33fafb6fb20c51c3b Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Sat, 15 Jul 2023 00:06:53 -0700 Subject: [PATCH] chore: :art: format --- .../backend/src/server/api/endpoints/notes/children.ts | 2 +- .../src/server/api/endpoints/notes/conversation.ts | 6 +++++- packages/client/src/components/MkPostForm.vue | 2 +- packages/client/src/pages/about-calckey.vue | 8 ++++---- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/notes/children.ts b/packages/backend/src/server/api/endpoints/notes/children.ts index 3615df024..a35b17a02 100644 --- a/packages/backend/src/server/api/endpoints/notes/children.ts +++ b/packages/backend/src/server/api/endpoints/notes/children.ts @@ -30,7 +30,7 @@ export const paramDef = { properties: { noteId: { type: "string", format: "misskey:id" }, limit: { type: "integer", minimum: 1, maximum: 100, default: 10 }, - depth: { type: "integer", minimum: 1, maximum: 100, default: 12}, + depth: { type: "integer", minimum: 1, maximum: 100, default: 12 }, sinceId: { type: "string", format: "misskey:id" }, untilId: { type: "string", format: "misskey:id" }, }, diff --git a/packages/backend/src/server/api/endpoints/notes/conversation.ts b/packages/backend/src/server/api/endpoints/notes/conversation.ts index 67927794d..c74da2ec7 100644 --- a/packages/backend/src/server/api/endpoints/notes/conversation.ts +++ b/packages/backend/src/server/api/endpoints/notes/conversation.ts @@ -35,7 +35,11 @@ export const meta = { export const paramDef = { type: "object", properties: { - noteId: { type: "string", format: "misskey:id", description: "Should be a reply" }, + noteId: { + type: "string", + format: "misskey:id", + description: "Should be a reply", + }, limit: { type: "integer", minimum: 1, maximum: 100, default: 10 }, offset: { type: "integer", default: 0 }, }, diff --git a/packages/client/src/components/MkPostForm.vue b/packages/client/src/components/MkPostForm.vue index b1812c2f1..c49001f2a 100644 --- a/packages/client/src/components/MkPostForm.vue +++ b/packages/client/src/components/MkPostForm.vue @@ -400,7 +400,7 @@ const textLength = $computed((): number => { }); const maxTextLength = $computed((): number => { - return instance ? instance.maxNoteTextLength : 1000; + return instance ? instance.maxNoteTextLength : 3000; }); const canPost = $computed((): boolean => { diff --git a/packages/client/src/pages/about-calckey.vue b/packages/client/src/pages/about-calckey.vue index eb06a6104..af06ea65a 100644 --- a/packages/client/src/pages/about-calckey.vue +++ b/packages/client/src/pages/about-calckey.vue @@ -129,9 +129,10 @@ + > + !sponsors.includes(patron)); let easterEggReady = false;