- Removed the API proxy middleware and integrated RPC routes for user authentication. - Implemented JWT token generation and validation in the authentication middleware. - Enhanced user registration and login processes with password hashing and token management. - Added new routes for user password reset and Google OAuth login. - Introduced health check endpoints for service monitoring. - Updated gRPC client methods for user management, including password updates. - Refactored utility functions for token handling and Redis interactions. - Improved type definitions for better TypeScript support.
17 lines
579 B
TypeScript
17 lines
579 B
TypeScript
/// <reference types="vite/client" />
|
|
/// <reference types="unplugin-vue-components/types/vue" />
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from 'vue';
|
|
const component: DefineComponent<{}, {}, any>;
|
|
export default component;
|
|
}
|
|
|
|
declare module "@httpClientAdapter" {
|
|
import { TinyRpcClientAdapter } from "@hiogawa/tiny-rpc";
|
|
export function httpClientAdapter(opts: {
|
|
url: string;
|
|
pathsForGET?: string[];
|
|
headers?: () => Promise<{ Authorization?: undefined; } | { Authorization: string; }>
|
|
}): TinyRpcClientAdapter;
|
|
} |