Export store interfaces and fix dotenv code block to resolve TypeDoc warnings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 10:26:29 +08:00
parent 97748bea60
commit aeb6d207c5
3 changed files with 6 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ Copy `.env` to `.env.local` and set the backend API URL:
cp .env .env.local
```
```dotenv
```sh
# .env.local
VUE_APP_API_URL = "http://localhost:8000"
```

View File

@@ -15,7 +15,7 @@ import apiError from '@/module/apiError';
import { useLoginStore } from '@/stores/login';
import { JUST_CREATE_ACCOUNT_HOT_DURATION_MINS } from '@/constants/constants';
interface User {
export interface User {
username: string;
detail: Record<string, any>;
name?: string;
@@ -28,7 +28,7 @@ interface User {
isDetailHovered?: boolean;
}
interface EditDetail {
export interface EditDetail {
newUsername?: string;
username?: string;
password: string;

View File

@@ -15,17 +15,17 @@ import { defineStore } from 'pinia';
import { SAVE_KEY_NAME } from '@/constants/constants.js';
interface Position {
export interface Position {
x: number;
y: number;
}
interface Node {
export interface Node {
id: string;
position: Position;
}
interface NodePositions {
export interface NodePositions {
[direction: string]: {
[graphId: string]: Node[];
}