- Updated the backend documentation in CONTRIBUTING.md and README.md to reflect changes in application structure and API endpoints. - Enhanced the frontend components in MapView.vue for better handling of context menu actions. - Added new types and interfaces in TypeScript for improved type safety in the frontend. - Introduced new utility classes for managing characters and markers in the map. - Updated .gitignore to include .vscode directory for better development environment management.
31 lines
480 B
TypeScript
31 lines
480 B
TypeScript
export interface MeResponse {
|
|
username: string
|
|
auths: string[]
|
|
tokens?: string[]
|
|
prefix?: string
|
|
}
|
|
|
|
export interface MapInfoAdmin {
|
|
ID: number
|
|
Name: string
|
|
Hidden: boolean
|
|
Priority: boolean
|
|
}
|
|
|
|
export interface SettingsResponse {
|
|
prefix: string
|
|
defaultHide: boolean
|
|
title: string
|
|
}
|
|
|
|
export interface ConfigResponse {
|
|
title?: string
|
|
auths?: string[]
|
|
}
|
|
|
|
export interface MapInfo {
|
|
ID: number
|
|
Name: string
|
|
size?: number
|
|
}
|