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

@ -35,7 +35,11 @@ export const meta = {
export const paramDef = { export const paramDef = {
type: "object", type: "object",
properties: { 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 }, limit: { type: "integer", minimum: 1, maximum: 100, default: 10 },
offset: { type: "integer", default: 0 }, offset: { type: "integer", default: 0 },
}, },

View file

@ -400,7 +400,7 @@ const textLength = $computed((): number => {
}); });
const maxTextLength = $computed((): number => { const maxTextLength = $computed((): number => {
return instance ? instance.maxNoteTextLength : 1000; return instance ? instance.maxNoteTextLength : 3000;
}); });
const canPost = $computed((): boolean => { const canPost = $computed((): boolean => {

View file

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