77import { Terminal } from ' @microsoft/node-core-library' ;
88import * as Webpack from ' webpack' ;
99
10+ // @public (undocumented)
11+ export interface IDefaultLocaleOptions {
12+ // (undocumented)
13+ fillMissingTranslationStrings? : boolean ;
14+ // (undocumented)
15+ localeName: string ;
16+ }
17+
1018// @public (undocumented)
1119export interface ILocaleData {
1220 // (undocumented)
@@ -65,8 +73,17 @@ export interface ILocalizationStatsEntrypoint {
6573
6674// @public (undocumented)
6775export interface ILocalizedData {
76+ defaultLocale: IDefaultLocaleOptions ;
6877 passthroughLocale? : IPassthroughLocaleOptions ;
69- strings: ILocalizedStrings ;
78+ translatedStrings: ILocalizedStrings ;
79+ }
80+
81+ // @internal (undocumented)
82+ export interface _ILocalizedString {
83+ // (undocumented)
84+ comment? : string ;
85+ // (undocumented)
86+ value: string ;
7087}
7188
7289// @public (undocumented)
@@ -75,6 +92,12 @@ export interface ILocalizedStrings {
7592 [locale : string ]: ILocaleData ;
7693}
7794
95+ // @internal (undocumented)
96+ export interface _ILocFile {
97+ // (undocumented)
98+ [stringName : string ]: _ILocalizedString ;
99+ }
100+
78101// @public (undocumented)
79102export interface IPassthroughLocaleOptions {
80103 passthroughLocaleName? : string ;
@@ -115,6 +138,8 @@ export interface ITypingsGeneratorOptions {
115138// @public
116139export class LocalizationPlugin implements Webpack .Plugin {
117140 constructor (options : ILocalizationPluginOptions );
141+ // @internal (undocumented)
142+ addDefaultLocFile(locFilePath : string , locFile : _ILocFile ): void ;
118143 // (undocumented)
119144 apply(compiler : Webpack .Compiler ): void ;
120145 // @internal (undocumented)
0 commit comments