Refactor: Remove unused Convex HTTP routes and schema definitions
- Deleted `http.ts` which contained custom HTTP routes for authentication and JWKS. - Removed `schema.ts` that defined database schemas for `github_starred`, `users`, and `sessions`. - Updated `package.json` to remove the Convex dependency and updated other dependencies. - Deleted SQL script `clear.sql` for removing constraints from tables. - Removed `update.sh` script for updating dependencies. - Deleted demo application routes and models in `app-demo` directory. - Cleaned up unused modules and imports across various files. - Removed Redis and common utility scripts that were not in use. - Deleted test scripts related to user and bucket management.
This commit is contained in:
@@ -1,3 +1 @@
|
||||
export { sequelize } from './sequelize.ts';
|
||||
|
||||
export * from './minio.ts'
|
||||
@@ -1,13 +0,0 @@
|
||||
import { Client, } from 'minio';
|
||||
import { useConfig } from '@kevisual/use-config';
|
||||
const config = useConfig();
|
||||
const minioConfig = {
|
||||
endPoint: config.MINIO_ENDPOINT || 'localhost',
|
||||
// @ts-ignore
|
||||
port: parseInt(config.MINIO_PORT || '9000'),
|
||||
useSSL: config.MINIO_USE_SSL === 'true',
|
||||
accessKey: config.MINIO_ACCESS_KEY,
|
||||
secretKey: config.MINIO_SECRET_KEY,
|
||||
};
|
||||
export const minioClient = new Client(minioConfig);
|
||||
|
||||
Reference in New Issue
Block a user