chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-07-15 00:06:53 -07:00
parent 9f38f8bbca
commit 63b3666b71
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
4 changed files with 11 additions and 7 deletions

View File

@ -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" },
},

View File

@ -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 },
},

View File

@ -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 => {

View File

@ -129,9 +129,10 @@
</FormSection>
<FormSection>
<template #label
><Mfm :text="`$[x2 $[jelly ❤] ${i18n.ts._aboutMisskey.sponsors}]`" />
</template
>
><Mfm
:text="`$[x2 $[jelly ❤] ${i18n.ts._aboutMisskey.sponsors}]`"
/>
</template>
<MkSparkle>
<span
v-for="sponsor in sponsors"
@ -194,7 +195,6 @@ const patronsResp = await os.api("patrons", { forceUpdate: true });
patrons = patronsResp.patrons;
sponsors = patronsResp.sponsors;
patrons = patrons.filter((patron) => !sponsors.includes(patron));
let easterEggReady = false;