remove empty import statements

This commit is contained in:
Johann150 2022-08-14 12:26:18 +02:00
parent c8afce6b2c
commit f0bdd9666f
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1
87 changed files with 0 additions and 87 deletions

View file

@ -1,4 +1,3 @@
import { } from 'typeorm';
import { db } from '@/db/postgre.js';
import { Announcement } from './entities/announcement.js';

View file

@ -8,7 +8,6 @@ import config from '@/config/index.js';
import { createTemp, createTempDir } from '@/misc/create-temp.js';
import { downloadUrl } from '@/misc/download-url.js';
import { Users, Emojis } from '@/models/index.js';
import { } from '@/queue/types.js';
import { addFile } from '@/services/drive/add-file.js';
import { queueLogger } from '../../logger.js';

View file

@ -1,6 +1,5 @@
import { IsNull } from 'typeorm';
import { Instances, NoteReactions, Notes, Users } from '@/models/index.js';
import { } from '@/services/chart/index.js';
import define from '../define.js';
export const meta = {

View file

@ -27,7 +27,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import XNoteHeader from './note-header.vue';
import MkNoteSubNoteContent from './sub-note-content.vue';

View file

@ -13,7 +13,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkTooltip from './ui/tooltip.vue';
defineProps<{

View file

@ -14,7 +14,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as Misskey from 'misskey-js';
import XDrive from './drive.vue';
import XWindow from '@/components/ui/window.vue';

View file

@ -13,7 +13,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkWindow from '@/components/ui/window.vue';
import MkEmojiPicker from '@/components/emoji-picker.vue';

View file

@ -33,7 +33,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XModalWindow from '@/components/ui/modal-window.vue';
import MkButton from '@/components/ui/button.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -55,7 +55,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormInput from './form/input.vue';
import FormTextarea from './form/textarea.vue';
import FormSwitch from './form/switch.vue';

View file

@ -20,7 +20,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
type Behavior = 'window' | 'browser' | 'modalWindow';

View file

@ -3,7 +3,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MfmCore from '@/components/mfm';
withDefaults(defineProps<{

View file

@ -3,7 +3,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
withDefaults(defineProps<{

View file

@ -6,7 +6,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { instanceName } from '@/config';
const props = defineProps<{

View file

@ -11,7 +11,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import copyToClipboard from '@/scripts/copy-to-clipboard';
import * as os from '@/os';
import { i18n } from '@/i18n';

View file

@ -34,7 +34,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkModal from '@/components/ui/modal.vue';
import { menuDef } from '@/menu';
import { instanceName } from '@/config';

View file

@ -15,7 +15,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import MkVisibility from '@/components/visibility.vue';
import { notePage } from '@/filters/note';

View file

@ -15,7 +15,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
defineProps<{
text: string;

View file

@ -17,7 +17,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import XNoteHeader from './note-header.vue';
import MkNoteSubNoteContent from './sub-note-content.vue';

View file

@ -28,7 +28,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { notificationTypes } from 'misskey-js';
import MkSwitch from './form/switch.vue';
import MkInfo from './ui/info.vue';

View file

@ -5,7 +5,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XValue from './object-view.value.vue';
defineProps<{

View file

@ -3,7 +3,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
withDefaults(defineProps<{
reaction: string;

View file

@ -8,7 +8,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkTooltip from './ui/tooltip.vue';
import XReactionIcon from './reaction-icon.vue';

View file

@ -17,7 +17,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkTooltip from './ui/tooltip.vue';
import XReactionIcon from './reaction-icon.vue';

View file

@ -13,7 +13,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkSignin from './signin.vue';
import XModalWindow from '@/components/ui/modal-window.vue';
import { i18n } from '@/i18n';

View file

@ -17,7 +17,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XSignup from './signup.vue';
import XModalWindow from '@/components/ui/modal-window.vue';
import { i18n } from '@/i18n';

View file

@ -64,7 +64,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import getPasswordStrength from 'syuilo-password-strength';
import { toUnicode } from 'punycode/';
import MkButton from './ui/button.vue';

View file

@ -21,7 +21,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import XPoll from './poll.vue';
import XMediaList from './media-list.vue';

View file

@ -5,7 +5,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkModal from './modal.vue';
import MkMenu from './menu.vue';
import { MenuItem } from '@/types/menu';

View file

@ -3,7 +3,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import { i18n } from '@/i18n';

View file

@ -11,7 +11,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkTooltip from './ui/tooltip.vue';
defineProps<{

View file

@ -18,7 +18,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import MkButton from '@/components/ui/button.vue';
import { version } from '@/config';

View file

@ -27,7 +27,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XHeader from './_header_.vue';
import MkButton from '@/components/ui/button.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -13,7 +13,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormSuspense from '@/components/form/suspense.vue';
import MkKeyValue from '@/components/key-value.vue';
import * as os from '@/os';

View file

@ -46,7 +46,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XHeader from './_header_.vue';
import FormSwitch from '@/components/form/switch.vue';
import FormInput from '@/components/form/input.vue';

View file

@ -29,7 +29,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XModalWindow from '@/components/ui/modal-window.vue';
import MkButton from '@/components/ui/button.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -15,7 +15,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XHeader from './_header_.vue';
import FormButton from '@/components/ui/button.vue';
import FormTextarea from '@/components/form/textarea.vue';

View file

@ -25,7 +25,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormSwitch from '@/components/form/switch.vue';
import FormInput from '@/components/form/input.vue';
import FormButton from '@/components/ui/button.vue';

View file

@ -25,7 +25,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormSwitch from '@/components/form/switch.vue';
import FormInput from '@/components/form/input.vue';
import FormButton from '@/components/ui/button.vue';

View file

@ -27,7 +27,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XTwitter from './integrations.twitter.vue';
import XGithub from './integrations.github.vue';
import XDiscord from './integrations.discord.vue';

View file

@ -69,7 +69,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XHeader from './_header_.vue';
import FormSwitch from '@/components/form/switch.vue';
import FormInput from '@/components/form/input.vue';

View file

@ -16,7 +16,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkKeyValue from '@/components/key-value.vue';
import FormButton from '@/components/ui/button.vue';
import MkInfo from '@/components/ui/info.vue';

View file

@ -17,7 +17,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XHeader from './_header_.vue';
import MkButton from '@/components/ui/button.vue';
import * as os from '@/os';

View file

@ -33,7 +33,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XBotProtection from './bot-protection.vue';
import XHeader from './_header_.vue';
import FormFolder from '@/components/form/folder.vue';

View file

@ -148,7 +148,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XHeader from './_header_.vue';
import FormSwitch from '@/components/form/switch.vue';
import FormInput from '@/components/form/input.vue';

View file

@ -19,7 +19,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkPagination from '@/components/ui/pagination.vue';
import MkButton from '@/components/ui/button.vue';
import * as os from '@/os';

View file

@ -20,7 +20,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkButton from '@/components/ui/button.vue';
import * as os from '@/os';
import { i18n } from '@/i18n';

View file

@ -9,7 +9,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as os from '@/os';
import copyToClipboard from '@/scripts/copy-to-clipboard';
import { i18n } from '@/i18n';

View file

@ -6,7 +6,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as Acct from 'misskey-js/built/acct';
import * as os from '@/os';
import { mainRouter } from '@/router';

View file

@ -111,7 +111,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import MkChart from '@/components/chart.vue';
import MkObjectView from '@/components/object-view.vue';

View file

@ -36,7 +36,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as mfm from 'mfm-js';
import * as Misskey from 'misskey-js';
import { extractUrlFromMfm } from '@/scripts/extract-url-from-mfm';

View file

@ -37,7 +37,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkSignin from '@/components/signin.vue';
import MkButton from '@/components/ui/button.vue';
import * as os from '@/os';

View file

@ -18,7 +18,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkPagination from '@/components/ui/pagination.vue';
import MkButton from '@/components/ui/button.vue';
import { i18n } from '@/i18n';

View file

@ -17,7 +17,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkPagination from '@/components/ui/pagination.vue';
import MkButton from '@/components/ui/button.vue';
import * as os from '@/os';

View file

@ -17,7 +17,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkPagination from '@/components/ui/pagination.vue';
import MkButton from '@/components/ui/button.vue';
import MkAvatars from '@/components/avatars.vue';

View file

@ -40,7 +40,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkSelect from '@/components/form/select.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -22,7 +22,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -20,7 +20,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -20,7 +20,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -13,7 +13,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkTextarea from '@/components/form/textarea.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -13,7 +13,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkSwitch from '@/components/form/switch.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -13,7 +13,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -11,7 +11,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
withDefaults(defineProps<{

View file

@ -13,7 +13,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
import MkTextarea from '@/components/form/textarea.vue';
import MkInput from '@/components/form/input.vue';

View file

@ -11,7 +11,6 @@
<script lang="ts" setup>
/* eslint-disable vue/no-mutating-props */
import { } from 'vue';
import XContainer from '../page-editor.container.vue';
withDefaults(defineProps<{

View file

@ -25,7 +25,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { i18n } from '@/i18n';
const emit = defineEmits<{

View file

@ -28,7 +28,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkPagination from '@/components/ui/pagination.vue';
import MkTab from '@/components/tab.vue';
import FormInfo from '@/components/ui/info.vue';

View file

@ -53,7 +53,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormSwitch from '@/components/form/switch.vue';
import FormSelect from '@/components/form/select.vue';
import FormSection from '@/components/form/section.vue';

View file

@ -12,7 +12,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import JSON5 from 'json5';
import FormTextarea from '@/components/form/textarea.vue';
import FormButton from '@/components/ui/button.vue';

View file

@ -34,7 +34,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormInput from '@/components/form/input.vue';
import FormSection from '@/components/form/section.vue';
import FormSwitch from '@/components/form/switch.vue';

View file

@ -32,7 +32,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import FormInput from '@/components/form/input.vue';
import FormSection from '@/components/form/section.vue';
import FormSwitch from '@/components/form/switch.vue';

View file

@ -28,7 +28,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkPagination from '@/components/ui/pagination.vue';
import FormSection from '@/components/form/section.vue';
import FormLink from '@/components/form/link.vue';

View file

@ -25,7 +25,6 @@
<script lang="ts" setup>
// SPECIFICATION: https://misskey-hub.net/docs/features/share-form.html
import { } from 'vue';
import { noteVisibilities } from 'misskey-js';
import * as Acct from 'misskey-js/built/acct';
import * as Misskey from 'misskey-js';

View file

@ -14,7 +14,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as misskey from 'misskey-js';
import MkContainer from '@/components/ui/container.vue';
import MkChart from '@/components/chart.vue';

View file

@ -46,7 +46,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { toUnicode } from 'punycode/';
import XTimeline from './welcome.timeline.vue';
import MarqueeText from '@/components/marquee.vue';

View file

@ -22,7 +22,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import MkButton from '@/components/ui/button.vue';
import MkInput from '@/components/form/input.vue';
import { host } from '@/config';

View file

@ -18,7 +18,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import * as os from '@/os';
import { uploads } from '@/scripts/upload';
import { i18n } from '@/i18n';

View file

@ -12,7 +12,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XMainColumn from './main-column.vue';
import XTlColumn from './tl-column.vue';
import XAntennaColumn from './antenna-column.vue';

View file

@ -7,7 +7,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XColumn from './column.vue';
import { Column } from './deck-store';
import XNotes from '@/components/notes.vue';

View file

@ -9,7 +9,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XColumn from './column.vue';
import { updateColumn, Column } from './deck-store';
import XTimeline from '@/components/timeline.vue';

View file

@ -7,7 +7,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XColumn from './column.vue';
import { Column } from './deck-store';
import XNotes from '@/components/notes.vue';

View file

@ -9,7 +9,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XColumn from './column.vue';
import { addColumnWidget, Column, removeColumnWidget, setColumnWidgets, updateColumnWidget } from './deck-store';
import XWidgets from '@/components/widgets.vue';

View file

@ -4,7 +4,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import DesignB from './visitor/b.vue';
import XCommon from './_common_/common.vue';
</script>

View file

@ -38,7 +38,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { host, instanceName } from '@/config';
import * as os from '@/os';
import MkPagination from '@/components/ui/pagination.vue';

View file

@ -7,7 +7,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { useWidgetPropsManager, Widget, WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget';
import { GetFormResultType } from '@/scripts/form';
import MkContainer from '@/components/ui/container.vue';

View file

@ -3,7 +3,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import { useWidgetPropsManager, Widget, WidgetComponentEmits, WidgetComponentExpose, WidgetComponentProps } from './widget';
import { GetFormResultType } from '@/scripts/form';
import XPostForm from '@/components/post-form.vue';

View file

@ -11,7 +11,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
import XPie from './pie.vue';
import bytes from '@/filters/bytes';

View file

@ -21,7 +21,6 @@
</template>
<script lang="ts" setup>
import { } from 'vue';
const props = defineProps<{
value: number;