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: { properties: {
noteId: { type: "string", format: "misskey:id" }, noteId: { type: "string", format: "misskey:id" },
limit: { type: "integer", minimum: 1, maximum: 100, default: 10 }, 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" }, sinceId: { type: "string", format: "misskey:id" },
untilId: { type: "string", format: "misskey:id" }, untilId: { type: "string", format: "misskey:id" },
}, },

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;