chore: 🎨 format
This commit is contained in:
parent
9f38f8bbca
commit
63b3666b71
4 changed files with 11 additions and 7 deletions
|
@ -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" },
|
||||||
},
|
},
|
||||||
|
|
|
@ -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 },
|
||||||
},
|
},
|
||||||
|
|
|
@ -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 => {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue