2021-05-15 19:25:03 +00:00
|
|
|
import {State, Store} from "@/store";
|
2021-05-17 02:39:25 +00:00
|
|
|
import {DynmapUrlConfig} from "@/dynmap";
|
2021-05-15 19:25:03 +00:00
|
|
|
|
|
|
|
declare module "*.png" {
|
|
|
|
const value: any;
|
|
|
|
export = value;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.vue' {
|
|
|
|
import type { DefineComponent } from 'vue'
|
|
|
|
const component: DefineComponent<{}, {}, any>
|
|
|
|
export default component
|
2020-12-20 16:01:15 +00:00
|
|
|
}
|
|
|
|
|
2021-05-15 19:25:03 +00:00
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
// provide typings for `this.$store`
|
|
|
|
interface ComponentCustomProperties {
|
|
|
|
$store: Store<State>
|
|
|
|
}
|
2021-05-17 02:39:25 +00:00
|
|
|
}
|
|
|
|
|
2021-05-18 15:48:56 +00:00
|
|
|
interface LiveAtlasServerDefinition {
|
2021-05-17 02:39:25 +00:00
|
|
|
id: string
|
|
|
|
label?: string
|
2021-05-18 15:48:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface LiveAtlasDynmapServerDefinition extends LiveAtlasServerDefinition {
|
|
|
|
type: 'dynmap',
|
|
|
|
dynmap: DynmapUrlConfig,
|
2021-05-20 15:13:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
interface LiveAtlasMessageConfig {
|
|
|
|
chatPlayerJoin: string;
|
|
|
|
chatPlayerQuit: string;
|
|
|
|
chatAnonymousJoin: string;
|
|
|
|
chatAnonymousQuit: string;
|
|
|
|
chatNoMessages: string;
|
2021-05-20 15:39:41 +00:00
|
|
|
chatTitle: string;
|
2021-05-20 15:13:25 +00:00
|
|
|
chatLogin: string;
|
|
|
|
chatLoginLink: string;
|
|
|
|
chatSend: string;
|
2021-05-20 15:39:41 +00:00
|
|
|
chatPlaceholder: string;
|
2021-05-20 15:13:25 +00:00
|
|
|
chatErrorNotAllowed: string;
|
|
|
|
chatErrorRequiresLogin: string;
|
|
|
|
chatErrorCooldown: string;
|
|
|
|
chatErrorDisabled: string;
|
|
|
|
chatErrorUnknown: string;
|
2021-05-20 15:39:41 +00:00
|
|
|
serversHeading: string;
|
|
|
|
worldsHeading: string;
|
|
|
|
worldsSkeleton: string;
|
|
|
|
playersSkeleton: string;
|
|
|
|
playersHeading: string;
|
|
|
|
playersTitle: string;
|
|
|
|
playersTitleHidden: string;
|
|
|
|
playersTitleOtherWorld: string;
|
|
|
|
followingHeading: string;
|
|
|
|
followingUnfollow: string;
|
|
|
|
followingTitleUnfollow: string;
|
|
|
|
followingHidden: string;
|
|
|
|
linkTitle: string;
|
|
|
|
loadingTitle: string;
|
|
|
|
locationRegion: string;
|
|
|
|
locationChunk: string;
|
2020-12-12 21:35:55 +00:00
|
|
|
}
|