mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-27 11:15:02 +00:00
remove unused imports & add prettier plugin
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
33c6ae2188
commit
59bf98f928
289 changed files with 861 additions and 834 deletions
|
@ -4,11 +4,11 @@ import Vue from "vue";
|
|||
|
||||
import hljs from "highlight.js/lib/highlight.js";
|
||||
import hljsYaml from "highlight.js/lib/languages/yaml.js";
|
||||
import VueHighlightJS from "vue-highlightjs";
|
||||
import "highlight.js/styles/ocean.css";
|
||||
import VueHighlightJS from "vue-highlightjs";
|
||||
|
||||
import { RootStore } from "./store";
|
||||
import { router } from "./routes";
|
||||
import { RootStore } from "./store";
|
||||
|
||||
import "./directives/trim-indents";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import Vue from "vue";
|
||||
import VueRouter, { RouteConfig } from "vue-router";
|
||||
import VueRouter from "vue-router";
|
||||
import { authGuard, authRedirectGuard, loginCallbackGuard } from "./auth";
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { get, post } from "../api";
|
||||
import { ActionTree, Module } from "vuex";
|
||||
import { Module } from "vuex";
|
||||
import { post } from "../api";
|
||||
import { AuthState, IntervalType, RootState } from "./types";
|
||||
|
||||
// Refresh auth every 15 minutes
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { get } from "../api";
|
||||
import { Module } from "vuex";
|
||||
import { get } from "../api";
|
||||
import { DocsState, RootState } from "./types";
|
||||
|
||||
export const DocsStore: Module<DocsState, RootState> = {
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { get, post } from "../api";
|
||||
import { Module } from "vuex";
|
||||
import { GuildState, LoadStatus, RootState } from "./types";
|
||||
import { ApiPermissions } from "@shared/apiPermissions";
|
||||
import Vue from "vue";
|
||||
import { Module } from "vuex";
|
||||
import { get, post } from "../api";
|
||||
import { GuildState, LoadStatus, RootState } from "./types";
|
||||
|
||||
export const GuildStore: Module<GuildState, RootState> = {
|
||||
namespaced: true,
|
||||
|
|
|
@ -3,10 +3,10 @@ import Vuex, { Store } from "vuex";
|
|||
|
||||
Vue.use(Vuex);
|
||||
|
||||
import { RootState } from "./types";
|
||||
import { AuthStore } from "./auth";
|
||||
import { GuildStore } from "./guilds";
|
||||
import { DocsStore } from "./docs";
|
||||
import { GuildStore } from "./guilds";
|
||||
import { RootState } from "./types";
|
||||
|
||||
export const RootStore = new Vuex.Store<RootState>({
|
||||
modules: {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { get, post } from "../api";
|
||||
import { Module } from "vuex";
|
||||
import { get } from "../api";
|
||||
import { RootState, StaffState } from "./types";
|
||||
|
||||
export const StaffStore: Module<StaffState, RootState> = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue