teableio/teable

View on GitHub
apps/nextjs-app/src/features/i18n/auth.config.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { I18nActiveNamespaces } from '@/lib/i18n';

export interface IAuthConfig {
  // Define namespaces in use in both the type and the config.
  i18nNamespaces: I18nActiveNamespaces<'common' | 'auth' | 'space'>;
}

export const authConfig: IAuthConfig = {
  i18nNamespaces: ['common', 'auth', 'space'],
};