chore: 🎨 format

This commit is contained in:
ThatOneCalculator 2023-07-15 00:06:53 -07:00
parent 4be5f3b58c
commit d33f74adda
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;