Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
2742734
feat: Implement multi-source statistics and search handling
myProjectsRavi Oct 23, 2025
7c753f8
feat: Refactor AI natural language search to utilize Zod for input va…
myProjectsRavi Oct 23, 2025
a6ff017
feat: Enhance request validation middleware to handle non-breaking sp…
myProjectsRavi Oct 24, 2025
e5d7264
feat: Add body parsing middleware and improve request validation to h…
myProjectsRavi Oct 24, 2025
acd184d
feat: Update AI natural language search endpoint to allow 'starter' t…
myProjectsRavi Oct 24, 2025
f7a0def
feat: Add debug middleware for enhanced body parsing logging and allo…
myProjectsRavi Oct 24, 2025
b25b8cc
feat: Refactor error handling and request validation to improve loggi…
myProjectsRavi Oct 24, 2025
5c222f9
feat: Implement credit quota management in API key generation; remove…
myProjectsRavi Oct 24, 2025
51944f1
feat: Update database names in production and development configurati…
myProjectsRavi Oct 24, 2025
82dcda1
Remove outdated documentation files and implement comprehensive updat…
myProjectsRavi Oct 27, 2025
6b84954
feat: Implement expert feedback phases for API improvements, includin…
myProjectsRavi Oct 27, 2025
b65cf62
feat: Implement Phase 1 & 2 improvements including schema alignment, …
myProjectsRavi Oct 27, 2025
279dec7
feat: Implement edge caching middleware for improved performance and …
myProjectsRavi Oct 27, 2025
fcd73bd
feat: Refactor caching logic across handlers; implement centralized L…
myProjectsRavi Oct 27, 2025
6d4d7a9
feat: Implement background refresh and request deduplication services…
myProjectsRavi Oct 28, 2025
5abcff6
feat: Implement Phase 2 Performance Optimizations
myProjectsRavi Oct 28, 2025
c7cc1da
feat: Add hot cache seed SQL for common food items to improve caching…
myProjectsRavi Oct 28, 2025
849703a
feat: add analytics handler and utility for query tracking and perfor…
myProjectsRavi Oct 28, 2025
684f566
feat: Implement cache stampede prevention utilities
myProjectsRavi Oct 28, 2025
ea2640d
feat: add header sanitization middleware to remove sensitive headers
myProjectsRavi Oct 28, 2025
734254a
refactor: streamline header sanitization middleware and improve code …
myProjectsRavi Oct 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,33 +11,42 @@ module.exports = {
},
plugins: [
'@typescript-eslint',
'prettier'
'prettier',
'import'
],
rules: {
'prettier/prettier': 'error',
'@typescript-eslint/ban-types': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/ban-types': 'error',
// These are intentionally relaxed to match the current codebase which
// contains many legacy `any` usages and some unused variables. We prefer
// warnings for now to avoid mass refactors.
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['warn', {"argsIgnorePattern":"^_","varsIgnorePattern":"^_"}],
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'variable',
format: ['camelCase', 'PascalCase', 'UPPER_CASE']
}
],
// Allow importing TypeScript modules without requiring a .js extension
// in source files (common in TS projects targeting ESM output).
'import/extensions': [
'error',
'ignorePackages',
{
js: 'never',
ts: 'never'
}
]
],
// Allow functions and declarations to be used before they're defined in
// some cases to avoid mass reordering refactors across the codebase.
'@typescript-eslint/no-use-before-define': 'off'
},
settings: {
'import/resolver': {
typescript: {
alwaysTryTypes: true,
project: './tsconfig.json'
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
}
}
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading