teableio/teable

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

Summary

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

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

export const shareConfig: IShareConfig = {
  i18nNamespaces: ['share', 'common', 'table', 'sdk', 'share'],
};