Logo
Explore Help
Register Sign In
AI_POC/TERES_web_frontend
11
0
Fork 0
You've already forked TERES_web_frontend
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
836ee763e3e13206a3c650f9a74cb1c2bf03b4dd
TERES_web_frontend/src/interfaces/database/base.ts

18 lines
292 B
TypeScript
Raw Normal View History

feat: add new interfaces, services, and utilities for API integration refactor: reorganize type definitions and improve type safety build: add lodash and @types/lodash as dependencies chore: update tsconfig and vite config for path aliases style: improve code organization and add documentation comments fix: correct type usage in LanguageSwitcher component perf: implement snackbar provider for global notifications test: add new test interfaces and utility functions ci: update pnpm-lock.yaml with new dependencies
2025-10-10 15:09:04 +08:00
export interface ResponseType<T = any> {
code: number;
data: T;
message: string;
status: number;
}
export interface ResponseGetType<T = any> {
data: T;
loading?: boolean;
}
export interface ResponsePostType<T = any> {
data: T;
loading?: boolean;
[key: string]: unknown;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 43ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API