@donotdev/core 0.1.47 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/next/index.d.ts CHANGED
@@ -735,6 +735,13 @@ interface I18nOptions extends BaseDiscoveryOptions {
735
735
  /** Example: ['../../packages/shared/locales'] */
736
736
  /** Note: '../../entities/locales' is auto-detected by default, no config needed */
737
737
  additionalPaths?: string[];
738
+ /** Restrict the app to these language codes — everything else is ignored. */
739
+ /** Translation files for any other language stay on disk but contribute */
740
+ /** nothing: no inlined content, no lazy chunk, and supportedLanguages */
741
+ /** shrinks (a single language hides the LanguageSelector automatically). */
742
+ /** Example: only: ['ko'] for a Korean-only app in a multi-language monorepo. */
743
+ /** Default: undefined = every language discovered on disk. */
744
+ only?: string[];
738
745
  }
739
746
 
740
747
  /**