mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
chore: cleanup project structure and resolve client type errors
- resolve all 69 client type-checking errors for stricter TS compliance - remove obsolete type-check baseline scripts and files - overhaul project root with updated README.md and new DEVELOPMENT.md - migrate to unified baseline migration strategy and cleanup docker configs - remove redundant production and dev-specific shell scripts
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { registerAs } from '@nestjs/config';
|
||||
|
||||
export const appConfig = registerAs('app', () => ({
|
||||
port: parseInt(process.env.PORT ?? '3000', 10),
|
||||
nodeEnv: process.env.NODE_ENV ?? 'development',
|
||||
logLevel: process.env.LOG_LEVEL,
|
||||
appUrl: process.env.APP_URL ?? 'http://localhost:5173',
|
||||
}));
|
||||
|
||||
@@ -19,14 +17,10 @@ export const authConfig = registerAs('auth', () => ({
|
||||
}));
|
||||
|
||||
export const storageConfig = registerAs('storage', () => ({
|
||||
booksPath: process.env.BOOKS_PATH ?? '/data/books',
|
||||
booksPath: process.env.BOOKS_PATH ?? '/data',
|
||||
stagingPath: process.env.STAGING_PATH,
|
||||
}));
|
||||
|
||||
export const externalApiConfig = registerAs('externalApi', () => ({
|
||||
googleBooksApiKey: process.env.GOOGLE_BOOKS_API_KEY ?? '',
|
||||
}));
|
||||
|
||||
export const emailConfig = registerAs('email', () => ({
|
||||
encryptionKey: process.env.EMAIL_ENCRYPTION_KEY ?? '',
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user