3
0
Fork 0
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:
metal 2023-03-20 20:13:30 +00:00 committed by GitHub
parent 33c6ae2188
commit 59bf98f928
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
289 changed files with 861 additions and 834 deletions

View file

@ -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";

View file

@ -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);

View file

@ -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

View file

@ -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> = {

View file

@ -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,

View file

@ -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: {

View file

@ -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> = {