teableio/teable

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

Summary

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

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

export const tableConfig: ITableConfig = {
  i18nNamespaces: ['common', 'space', 'sdk', 'table'],
};