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:
@@ -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"
|
||||
```
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user