chore: lint
This commit is contained in:
parent
0335a353e8
commit
6b812fb30b
12 changed files with 15 additions and 15 deletions
|
@ -10,7 +10,7 @@ pub fn string_to_acct(acct: &str) -> Acct {
|
|||
let split: Vec<&str> = if let Some(stripped) = acct.strip_prefix('@') {
|
||||
stripped
|
||||
} else {
|
||||
&acct
|
||||
acct
|
||||
}
|
||||
.split('@')
|
||||
.collect();
|
||||
|
|
|
@ -4,9 +4,9 @@ import { i18n } from "./i18n";
|
|||
import { apiUrl } from "@/config";
|
||||
import { me } from "@/me";
|
||||
import { alert, api, popup, popupMenu, waiting } from "@/os";
|
||||
import icon from "@/scripts/icon";
|
||||
import { del, get, set } from "@/scripts/idb-proxy";
|
||||
import { reloadChannel, unisonReload } from "@/scripts/unison-reload";
|
||||
import icon from "@/scripts/icon";
|
||||
|
||||
// TODO: 他のタブと永続化されたstateを同期
|
||||
|
||||
|
|
|
@ -23,11 +23,11 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { entities } from "firefish-js";
|
||||
import MkChannelPreview from "@/components/MkChannelPreview.vue";
|
||||
import type { PagingOf } from "@/components/MkPagination.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
import { i18n } from "@/i18n";
|
||||
import type { entities } from "firefish-js";
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
|
|
|
@ -40,13 +40,13 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { ref } from "vue";
|
||||
import type { entities } from "firefish-js";
|
||||
import type { PagingOf } from "@/components/MkPagination.vue";
|
||||
import XNote from "@/components/MkNote.vue";
|
||||
import XList from "@/components/MkDateSeparatedList.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
import { i18n } from "@/i18n";
|
||||
import { scroll } from "@/scripts/scroll";
|
||||
import type { entities } from "firefish-js";
|
||||
|
||||
const tlEl = ref<HTMLElement>();
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { computed, onUnmounted, provide, ref } from "vue";
|
||||
import type { entities, StreamTypes, TypeUtils } from "firefish-js";
|
||||
import type { StreamTypes, TypeUtils, entities } from "firefish-js";
|
||||
import MkPullToRefresh from "@/components/MkPullToRefresh.vue";
|
||||
import XNotes from "@/components/MkNotes.vue";
|
||||
import MkInfo from "@/components/MkInfo.vue";
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import {} from "vue";
|
||||
import type { entities } from "firefish-js";
|
||||
import MfmCore from "@/components/mfm";
|
||||
import { defaultStore } from "@/store";
|
||||
import type { entities } from "firefish-js";
|
||||
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { defineComponent, h } from "vue";
|
||||
import * as mfm from "mfm-js";
|
||||
import type { VNode, PropType } from "vue";
|
||||
import type { PropType, VNode } from "vue";
|
||||
import type { entities } from "firefish-js";
|
||||
import MkUrl from "@/components/global/MkUrl.vue";
|
||||
import MkLink from "@/components/MkLink.vue";
|
||||
import MkMention from "@/components/MkMention.vue";
|
||||
|
@ -13,7 +14,6 @@ import MkSparkle from "@/components/MkSparkle.vue";
|
|||
import MkA from "@/components/global/MkA.vue";
|
||||
import { host } from "@/config";
|
||||
import { reducedMotion } from "@/scripts/reduced-motion";
|
||||
import type { entities } from "firefish-js";
|
||||
|
||||
export default defineComponent({
|
||||
props: {
|
||||
|
|
|
@ -106,6 +106,7 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref } from "vue";
|
||||
import type { instanceSortParam } from "firefish-js";
|
||||
import MkInput from "@/components/form/input.vue";
|
||||
import MkSelect from "@/components/form/select.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
|
@ -113,7 +114,6 @@ import MkInstanceCardMini from "@/components/MkInstanceCardMini.vue";
|
|||
import FormSplit from "@/components/form/split.vue";
|
||||
import { i18n } from "@/i18n";
|
||||
import icon from "@/scripts/icon";
|
||||
import type { instanceSortParam } from "firefish-js";
|
||||
|
||||
const host = ref("");
|
||||
const state = ref("federating");
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<template #header
|
||||
><MkPageHeader :actions="headerActions" :tabs="headerTabs"
|
||||
/></template>
|
||||
<MkSpacer :content-max="800" v-hotkey.global="keymap">
|
||||
<MkSpacer v-hotkey.global="keymap" :content-max="800">
|
||||
<div class="tl _block">
|
||||
<XTimeline
|
||||
ref="tlEl"
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { computed, onMounted, ref } from "vue";
|
||||
import type { entities } from "firefish-js";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
import { api } from "@/os";
|
||||
import XList from "@/components/MkDateSeparatedList.vue";
|
||||
|
@ -41,7 +42,6 @@ import XNote from "@/components/MkNote.vue";
|
|||
import { i18n } from "@/i18n";
|
||||
import { definePageMetadata } from "@/scripts/page-metadata";
|
||||
import icon from "@/scripts/icon";
|
||||
import type { entities } from "firefish-js";
|
||||
|
||||
const pagingComponent = ref<InstanceType<typeof MkPagination>>();
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ import { definePageMetadata } from "@/scripts/page-metadata";
|
|||
import { shareAvailable } from "@/scripts/share-available";
|
||||
import { defaultStore } from "@/store";
|
||||
import icon from "@/scripts/icon";
|
||||
import { me, isSignedIn } from "@/me";
|
||||
import { isSignedIn, me } from "@/me";
|
||||
|
||||
const props = defineProps<{
|
||||
pageName: string;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<MkSpacer :contentMax="1100">
|
||||
<MkSpacer :content-max="1100">
|
||||
<div :class="$style.root">
|
||||
<MkPagination v-slot="{items}" :pagination="pagination">
|
||||
<div :class="$style.stream">
|
||||
|
@ -11,10 +11,10 @@
|
|||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import MkNoteMediaList from "@/components/MkNoteMediaList.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
import { computed } from "vue";
|
||||
import type { entities } from "firefish-js";
|
||||
import MkNoteMediaList from "@/components/MkNoteMediaList.vue";
|
||||
import MkPagination from "@/components/MkPagination.vue";
|
||||
|
||||
const props = defineProps<{
|
||||
user: entities.UserDetailed;
|
||||
|
|
Loading…
Reference in a new issue